public property MenuLink::$expanded

Flag for whether this link should be rendered as expanded in menus. Expanded links always have their child links displayed, instead of only when the link is in the active trail.

Type: int

File

drupal/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php, line 149
Contains \Drupal\menu_link\Plugin\Core\Entity\MenuLink.

Class

MenuLink
Defines the menu link entity class.

Namespace

Drupal\menu_link\Plugin\Core\Entity

Code

public $expanded = 0;