MenuLinkTree::$routeProvider

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

The route provider to load routes by name.

Type: \Drupal\Core\Routing\RouteProviderInterface

File

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

Class

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

Namespace

Drupal\Core\Menu

Code

protected $routeProvider;

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