public function MenuLinkBase::isExpanded in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::isExpanded()
Returns whether the child menu links should always been shown.
Return value
bool TRUE for expanded, FALSE otherwise.
Overrides MenuLinkInterface::isExpanded
1 method overrides MenuLinkBase::isExpanded()
- ViewsMenuLink::isExpanded in core/
modules/ views/ src/ Plugin/ Menu/ ViewsMenuLink.php - Returns whether the child menu links should always been shown.
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php, line 71 - Contains \Drupal\Core\Menu\MenuLinkBase.
Class
- MenuLinkBase
- Defines a base menu link class.
Namespace
Drupal\Core\MenuCode
public function isExpanded() {
return (bool) $this->pluginDefinition['expanded'];
}