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; diff --git a/core/modules/action/action.local_tasks.yml b/core/modules/action/action.links.task.yml similarity index 100% rename from core/modules/action/action.local_tasks.yml rename to core/modules/action/action.links.task.yml diff --git a/core/modules/aggregator/aggregator.local_tasks.yml b/core/modules/aggregator/aggregator.links.task.yml similarity index 100% rename from core/modules/aggregator/aggregator.local_tasks.yml rename to core/modules/aggregator/aggregator.links.task.yml diff --git a/core/modules/block/block.local_tasks.yml b/core/modules/block/block.links.task.yml similarity index 100% rename from core/modules/block/block.local_tasks.yml rename to core/modules/block/block.links.task.yml diff --git a/core/modules/block_content/block_content.local_tasks.yml b/core/modules/block_content/block_content.links.task.yml similarity index 100% rename from core/modules/block_content/block_content.local_tasks.yml rename to core/modules/block_content/block_content.links.task.yml diff --git a/core/modules/book/book.local_tasks.yml b/core/modules/book/book.links.task.yml similarity index 100% rename from core/modules/book/book.local_tasks.yml rename to core/modules/book/book.links.task.yml diff --git a/core/modules/comment/comment.local_tasks.yml b/core/modules/comment/comment.links.task.yml similarity index 100% rename from core/modules/comment/comment.local_tasks.yml rename to core/modules/comment/comment.links.task.yml diff --git a/core/modules/config/config.local_tasks.yml b/core/modules/config/config.links.task.yml similarity index 100% rename from core/modules/config/config.local_tasks.yml rename to core/modules/config/config.links.task.yml diff --git a/core/modules/config/tests/config_test/config_test.local_tasks.yml b/core/modules/config/tests/config_test/config_test.links.task.yml similarity index 100% rename from core/modules/config/tests/config_test/config_test.local_tasks.yml rename to core/modules/config/tests/config_test/config_test.links.task.yml diff --git a/core/modules/config_translation/config_translation.local_tasks.yml b/core/modules/config_translation/config_translation.links.task.yml similarity index 100% rename from core/modules/config_translation/config_translation.local_tasks.yml rename to core/modules/config_translation/config_translation.links.task.yml diff --git a/core/modules/contact/contact.local_tasks.yml b/core/modules/contact/contact.links.task.yml similarity index 100% rename from core/modules/contact/contact.local_tasks.yml rename to core/modules/contact/contact.links.task.yml diff --git a/core/modules/content_translation/content_translation.local_tasks.yml b/core/modules/content_translation/content_translation.links.task.yml similarity index 100% rename from core/modules/content_translation/content_translation.local_tasks.yml rename to core/modules/content_translation/content_translation.links.task.yml diff --git a/core/modules/entity/entity.local_tasks.yml b/core/modules/entity/entity.links.task.yml similarity index 100% rename from core/modules/entity/entity.local_tasks.yml rename to core/modules/entity/entity.links.task.yml diff --git a/core/modules/field_ui/field_ui.local_tasks.yml b/core/modules/field_ui/field_ui.links.task.yml similarity index 100% rename from core/modules/field_ui/field_ui.local_tasks.yml rename to core/modules/field_ui/field_ui.links.task.yml diff --git a/core/modules/filter/filter.local_tasks.yml b/core/modules/filter/filter.links.task.yml similarity index 100% rename from core/modules/filter/filter.local_tasks.yml rename to core/modules/filter/filter.links.task.yml diff --git a/core/modules/forum/forum.local_tasks.yml b/core/modules/forum/forum.links.task.yml similarity index 100% rename from core/modules/forum/forum.local_tasks.yml rename to core/modules/forum/forum.links.task.yml diff --git a/core/modules/image/image.local_tasks.yml b/core/modules/image/image.links.task.yml similarity index 100% rename from core/modules/image/image.local_tasks.yml rename to core/modules/image/image.links.task.yml diff --git a/core/modules/language/language.local_tasks.yml b/core/modules/language/language.links.task.yml similarity index 100% rename from core/modules/language/language.local_tasks.yml rename to core/modules/language/language.links.task.yml diff --git a/core/modules/locale/locale.local_tasks.yml b/core/modules/locale/locale.links.task.yml similarity index 100% rename from core/modules/locale/locale.local_tasks.yml rename to core/modules/locale/locale.links.task.yml diff --git a/core/modules/menu_ui/menu_ui.local_tasks.yml b/core/modules/menu_ui/menu_ui.links.task.yml similarity index 100% rename from core/modules/menu_ui/menu_ui.local_tasks.yml rename to core/modules/menu_ui/menu_ui.links.task.yml diff --git a/core/modules/node/node.local_tasks.yml b/core/modules/node/node.links.task.yml similarity index 100% rename from core/modules/node/node.local_tasks.yml rename to core/modules/node/node.links.task.yml diff --git a/core/modules/path/path.local_tasks.yml b/core/modules/path/path.links.task.yml similarity index 100% rename from core/modules/path/path.local_tasks.yml rename to core/modules/path/path.links.task.yml diff --git a/core/modules/responsive_image/responsive_image.local_tasks.yml b/core/modules/responsive_image/responsive_image.links.task.yml similarity index 100% rename from core/modules/responsive_image/responsive_image.local_tasks.yml rename to core/modules/responsive_image/responsive_image.links.task.yml diff --git a/core/modules/search/search.local_tasks.yml b/core/modules/search/search.links.task.yml similarity index 100% rename from core/modules/search/search.local_tasks.yml rename to core/modules/search/search.links.task.yml diff --git a/core/modules/shortcut/shortcut.local_tasks.yml b/core/modules/shortcut/shortcut.links.task.yml similarity index 100% rename from core/modules/shortcut/shortcut.local_tasks.yml rename to core/modules/shortcut/shortcut.links.task.yml diff --git a/core/modules/simpletest/simpletest.local_tasks.yml b/core/modules/simpletest/simpletest.links.task.yml similarity index 100% rename from core/modules/simpletest/simpletest.local_tasks.yml rename to core/modules/simpletest/simpletest.links.task.yml diff --git a/core/modules/system/system.local_tasks.yml b/core/modules/system/system.links.task.yml similarity index 100% rename from core/modules/system/system.local_tasks.yml rename to core/modules/system/system.links.task.yml diff --git a/core/modules/system/tests/modules/batch_test/batch_test.local_tasks.yml b/core/modules/system/tests/modules/batch_test/batch_test.links.task.yml similarity index 100% rename from core/modules/system/tests/modules/batch_test/batch_test.local_tasks.yml rename to core/modules/system/tests/modules/batch_test/batch_test.links.task.yml diff --git a/core/modules/system/tests/modules/entity_test/entity_test.local_tasks.yml b/core/modules/system/tests/modules/entity_test/entity_test.links.task.yml similarity index 100% rename from core/modules/system/tests/modules/entity_test/entity_test.local_tasks.yml rename to core/modules/system/tests/modules/entity_test/entity_test.links.task.yml diff --git a/core/modules/system/tests/modules/menu_test/menu_test.local_tasks.yml b/core/modules/system/tests/modules/menu_test/menu_test.links.task.yml similarity index 100% rename from core/modules/system/tests/modules/menu_test/menu_test.local_tasks.yml rename to core/modules/system/tests/modules/menu_test/menu_test.links.task.yml diff --git a/core/modules/taxonomy/taxonomy.local_tasks.yml b/core/modules/taxonomy/taxonomy.links.task.yml similarity index 100% rename from core/modules/taxonomy/taxonomy.local_tasks.yml rename to core/modules/taxonomy/taxonomy.links.task.yml diff --git a/core/modules/tracker/tracker.local_tasks.yml b/core/modules/tracker/tracker.links.task.yml similarity index 100% rename from core/modules/tracker/tracker.local_tasks.yml rename to core/modules/tracker/tracker.links.task.yml diff --git a/core/modules/update/update.local_tasks.yml b/core/modules/update/update.links.task.yml similarity index 100% rename from core/modules/update/update.local_tasks.yml rename to core/modules/update/update.links.task.yml diff --git a/core/modules/user/user.local_tasks.yml b/core/modules/user/user.links.task.yml similarity index 100% rename from core/modules/user/user.local_tasks.yml rename to core/modules/user/user.links.task.yml diff --git a/core/modules/views/views.local_tasks.yml b/core/modules/views/views.links.task.yml similarity index 100% rename from core/modules/views/views.local_tasks.yml rename to core/modules/views/views.links.task.yml diff --git a/core/modules/views_ui/views_ui.local_tasks.yml b/core/modules/views_ui/views_ui.links.task.yml similarity index 100% rename from core/modules/views_ui/views_ui.local_tasks.yml rename to core/modules/views_ui/views_ui.links.task.yml