summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Menu/LocalActionManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Core/Menu/LocalActionManager.php')
-rw-r--r--core/lib/Drupal/Core/Menu/LocalActionManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Menu/LocalActionManager.php b/core/lib/Drupal/Core/Menu/LocalActionManager.php
index 75e499f..fc252b1 100644
--- a/core/lib/Drupal/Core/Menu/LocalActionManager.php
+++ b/core/lib/Drupal/Core/Menu/LocalActionManager.php
@@ -122,7 +122,7 @@ class LocalActionManager extends DefaultPluginManager {
public function __construct(ControllerResolverInterface $controller_resolver, RequestStack $request_stack, RouteProviderInterface $route_provider, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, LanguageManagerInterface $language_manager, AccessManager $access_manager, AccountInterface $account) {
// Skip calling the parent constructor, since that assumes annotation-based
// discovery.
- $this->discovery = new YamlDiscovery('local_actions', $module_handler->getModuleDirectories());
+ $this->discovery = new YamlDiscovery('links.action', $module_handler->getModuleDirectories());
$this->discovery = new ContainerDerivativeDiscoveryDecorator($this->discovery);
$this->factory = new ContainerFactory($this);
$this->controllerResolver = $controller_resolver;