LocalTaskDefault::$routeProvider

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

The route provider to load routes by name.

Type: \Drupal\Core\Routing\RouteProviderInterface

File

core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 24

Class

LocalTaskDefault
Default object used for LocalTaskPlugins.

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.