SystemMenuBlock::$menuTree

Same name in other branches
  1. 9 core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::menuTree
  2. 8.9.x core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::menuTree
  3. 11.x core/modules/system/src/Plugin/Block/SystemMenuBlock.php \Drupal\system\Plugin\Block\SystemMenuBlock::menuTree

The menu link tree service.

Type: \Drupal\Core\Menu\MenuLinkTreeInterface

File

core/modules/system/src/Plugin/Block/SystemMenuBlock.php, line 37

Class

SystemMenuBlock
Provides a generic Menu block.

Namespace

Drupal\system\Plugin\Block

Code

protected $menuTree;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.