You are here

public function MenuLinkInterface::isExpanded in Drupal 9

Same name and namespace in other branches
  1. 8 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
Returns whether the child menu links should always been shown.

File

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

Class

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

Namespace

Drupal\Core\Menu

Code

public function isExpanded();