MenuLinkTreeElement::$subtree
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php \Drupal\Core\Menu\MenuLinkTreeElement::subtree
- 10 core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php \Drupal\Core\Menu\MenuLinkTreeElement::subtree
- 11.x 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\MenuCode
public $subtree;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.