summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Menu/LocalTaskManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Menu/LocalTaskManager.php')
-rw-r--r--core/lib/Drupal/Core/Menu/LocalTaskManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Menu/LocalTaskManager.php b/core/lib/Drupal/Core/Menu/LocalTaskManager.php
index b9465bf..ff9b52a 100644
--- a/core/lib/Drupal/Core/Menu/LocalTaskManager.php
+++ b/core/lib/Drupal/Core/Menu/LocalTaskManager.php
@@ -128,7 +128,7 @@ class LocalTaskManager extends DefaultPluginManager {
* The current user.
*/
public function __construct(ControllerResolverInterface $controller_resolver, RequestStack $request_stack, RouteProviderInterface $route_provider, RouteBuilderInterface $route_builder, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache, LanguageManager $language_manager, AccessManager $access_manager, AccountInterface $account) {
- $this->discovery = new YamlDiscovery('local_tasks', $module_handler->getModuleDirectories());
+ $this->discovery = new YamlDiscovery('links.task', $module_handler->getModuleDirectories());
$this->discovery = new ContainerDerivativeDiscoveryDecorator($this->discovery);
$this->factory = new ContainerFactory($this);
$this->controllerResolver = $controller_resolver;