MenuLinkTreeElement::$subtree
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

The subtree of this element in the menu link tree (this link's children). (Children of a link are only loaded if a link is marked as "expanded"

2025-01-10 15:47:30
MenuLinkTreeElement::$link
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

The menu link for this element in a menu link tree. Type:

2025-01-10 15:47:30
MenuLinkTreeElement
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

Provides a value object to model an element in a menu link tree.

2025-01-10 15:47:30
MenuLinkTreeElement::__construct
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

public MenuLinkTreeElement::__construct(MenuLinkInterface $link

2025-01-10 15:47:30
MenuLinkTreeElement::$depth
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

The depth of this link relative to the root of the tree. Type: int File

2025-01-10 15:47:30
MenuLinkTreeElement::$hasChildren
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

Whether this link has any children at all. Type: bool File

2025-01-10 15:47:30
MenuLinkTreeElement::$access
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

Whether this link is accessible by the current user. If the value is NULL the access was not determined yet, if an access result object, it

2025-01-10 15:47:30
MenuLinkTreeElement::count
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

public MenuLinkTreeElement::count()

2025-01-10 15:47:30
MenuLinkTreeElement::$options
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

Additional options for this link. This is merged (

2025-01-10 15:47:30
MenuLinkTreeElement::$inActiveTrail
  • References/PHP/Drupal/Menu/MenuLinkTreeElement

Whether this link is in the active trail. Type: bool File

2025-01-10 15:47:30