MenuLinkTree::$menuActiveTrail

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::menuActiveTrail
  2. 8.9.x core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::menuActiveTrail

The active menu trail service.

Type: \Drupal\Core\Menu\MenuActiveTrailInterface

File

core/lib/Drupal/Core/Menu/MenuLinkTree.php, line 45

Class

MenuLinkTree
Implements the loading, transforming and rendering of menu link trees.

Namespace

Drupal\Core\Menu

Code

protected $menuActiveTrail;

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