SystemMenuBlock::$menuActiveTrail

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

The active menu trail service.

Type: \Drupal\Core\Menu\MenuActiveTrailInterface

File

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

Class

SystemMenuBlock
Provides a generic Menu block.

Namespace

Drupal\system\Plugin\Block

Code

protected $menuActiveTrail;

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