function MenuLinkInterface::isExpanded

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::isExpanded()
  2. 8.9.x core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::isExpanded()
  3. 10 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::isExpanded()

Returns whether the child menu links should always been shown.

Return value

bool TRUE for expanded, FALSE otherwise.

1 method overrides MenuLinkInterface::isExpanded()
MenuLinkBase::isExpanded in core/lib/Drupal/Core/Menu/MenuLinkBase.php

File

core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 77

Class

MenuLinkInterface
Defines an interface for classes providing a type of menu link.

Namespace

Drupal\Core\Menu

Code

public function isExpanded();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.