MenuLinkBase::isExpanded

public MenuLinkBase::isExpanded()

Returns whether the child menu links should always been shown.

Return value

bool TRUE for expanded, FALSE otherwise.

Overrides MenuLinkInterface::isExpanded

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 66

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function isExpanded() {
  return (bool) $this->pluginDefinition['expanded'];
}
doc_Drupal
2016-10-29 09:26:26
Comments
Leave a Comment

Please login to continue.