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']; }
Please login to continue.