You are here

public property MenuLinkTreeElement::$subtree in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php \Drupal\Core\Menu\MenuLinkTreeElement::subtree
  2. 9 core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php \Drupal\Core\Menu\MenuLinkTreeElement::subtree

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" by the query.)

Type: \Drupal\Core\Menu\MenuLinkTreeElement[]

File

core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php, line 42

Class

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

Namespace

Drupal\Core\Menu

Code

public $subtree;