summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-07-15 11:29:14 (GMT)
committerAlex Pott2014-07-15 11:29:14 (GMT)
commitf2b6aa7a754345828000bdc0240dec1387117d44 (patch)
treefbe3066b71876a89631e32149e1f19dbfa32090c
parent351352e95219c1b0dbc7d0c75131ba792827e931 (diff)
Issue #2291137 by cilefen | webchick: Rename various *links.yml files to improve DX.
-rw-r--r--core/includes/menu.inc6
-rw-r--r--core/lib/Drupal/Core/Menu/ContextualLinkManager.php2
-rw-r--r--core/lib/Drupal/Core/Menu/LocalActionManager.php2
-rw-r--r--core/lib/Drupal/Core/Menu/LocalTaskManager.php2
-rw-r--r--core/modules/action/action.links.task.yml (renamed from core/modules/action/action.local_tasks.yml)0
-rw-r--r--core/modules/aggregator/aggregator.links.action.yml (renamed from core/modules/aggregator/aggregator.local_actions.yml)0
-rw-r--r--core/modules/aggregator/aggregator.links.task.yml (renamed from core/modules/aggregator/aggregator.local_tasks.yml)0
-rw-r--r--core/modules/block/block.links.contextual.yml (renamed from core/modules/block/block.contextual_links.yml)0
-rw-r--r--core/modules/block/block.links.task.yml (renamed from core/modules/block/block.local_tasks.yml)0
-rw-r--r--core/modules/block_content/block_content.links.action.yml (renamed from core/modules/block_content/block_content.local_actions.yml)0
-rw-r--r--core/modules/block_content/block_content.links.contextual.yml (renamed from core/modules/block_content/block_content.contextual_links.yml)0
-rw-r--r--core/modules/block_content/block_content.links.task.yml (renamed from core/modules/block_content/block_content.local_tasks.yml)0
-rw-r--r--core/modules/book/book.links.task.yml (renamed from core/modules/book/book.local_tasks.yml)0
-rw-r--r--core/modules/comment/comment.links.action.yml (renamed from core/modules/comment/comment.local_actions.yml)0
-rw-r--r--core/modules/comment/comment.links.task.yml (renamed from core/modules/comment/comment.local_tasks.yml)0
-rw-r--r--core/modules/config/config.links.task.yml (renamed from core/modules/config/config.local_tasks.yml)0
-rw-r--r--core/modules/config/tests/config_test/config_test.links.action.yml (renamed from core/modules/config/tests/config_test/config_test.local_actions.yml)0
-rw-r--r--core/modules/config/tests/config_test/config_test.links.task.yml (renamed from core/modules/config/tests/config_test/config_test.local_tasks.yml)0
-rw-r--r--core/modules/config_translation/config_translation.links.contextual.yml (renamed from core/modules/config_translation/config_translation.contextual_links.yml)0
-rw-r--r--core/modules/config_translation/config_translation.links.task.yml (renamed from core/modules/config_translation/config_translation.local_tasks.yml)0
-rw-r--r--core/modules/contact/contact.links.action.yml (renamed from core/modules/contact/contact.local_actions.yml)0
-rw-r--r--core/modules/contact/contact.links.task.yml (renamed from core/modules/contact/contact.local_tasks.yml)0
-rw-r--r--core/modules/content_translation/content_translation.links.contextual.yml (renamed from core/modules/content_translation/content_translation.contextual_links.yml)0
-rw-r--r--core/modules/content_translation/content_translation.links.task.yml (renamed from core/modules/content_translation/content_translation.local_tasks.yml)0
-rw-r--r--core/modules/contextual/contextual.module2
-rw-r--r--core/modules/entity/entity.links.action.yml (renamed from core/modules/entity/entity.local_actions.yml)0
-rw-r--r--core/modules/entity/entity.links.task.yml (renamed from core/modules/entity/entity.local_tasks.yml)0
-rw-r--r--core/modules/field_ui/field_ui.links.task.yml (renamed from core/modules/field_ui/field_ui.local_tasks.yml)0
-rw-r--r--core/modules/filter/filter.links.action.yml (renamed from core/modules/filter/filter.local_actions.yml)0
-rw-r--r--core/modules/filter/filter.links.task.yml (renamed from core/modules/filter/filter.local_tasks.yml)0
-rw-r--r--core/modules/forum/forum.links.action.yml (renamed from core/modules/forum/forum.local_actions.yml)0
-rw-r--r--core/modules/forum/forum.links.task.yml (renamed from core/modules/forum/forum.local_tasks.yml)0
-rw-r--r--core/modules/image/image.links.action.yml (renamed from core/modules/image/image.local_actions.yml)0
-rw-r--r--core/modules/image/image.links.task.yml (renamed from core/modules/image/image.local_tasks.yml)0
-rw-r--r--core/modules/language/language.links.action.yml (renamed from core/modules/language/language.local_actions.yml)0
-rw-r--r--core/modules/language/language.links.task.yml (renamed from core/modules/language/language.local_tasks.yml)0
-rw-r--r--core/modules/locale/locale.links.task.yml (renamed from core/modules/locale/locale.local_tasks.yml)0
-rw-r--r--core/modules/menu_ui/menu_ui.links.action.yml (renamed from core/modules/menu_ui/menu_ui.local_actions.yml)0
-rw-r--r--core/modules/menu_ui/menu_ui.links.contextual.yml (renamed from core/modules/menu_ui/menu_ui.contextual_links.yml)0
-rw-r--r--core/modules/menu_ui/menu_ui.links.task.yml (renamed from core/modules/menu_ui/menu_ui.local_tasks.yml)0
-rw-r--r--core/modules/node/node.links.action.yml (renamed from core/modules/node/node.local_actions.yml)0
-rw-r--r--core/modules/node/node.links.contextual.yml (renamed from core/modules/node/node.contextual_links.yml)0
-rw-r--r--core/modules/node/node.links.task.yml (renamed from core/modules/node/node.local_tasks.yml)0
-rw-r--r--core/modules/path/path.links.action.yml (renamed from core/modules/path/path.local_actions.yml)0
-rw-r--r--core/modules/path/path.links.task.yml (renamed from core/modules/path/path.local_tasks.yml)0
-rw-r--r--core/modules/responsive_image/responsive_image.links.action.yml (renamed from core/modules/responsive_image/responsive_image.local_actions.yml)0
-rw-r--r--core/modules/responsive_image/responsive_image.links.task.yml (renamed from core/modules/responsive_image/responsive_image.local_tasks.yml)0
-rw-r--r--core/modules/search/search.links.task.yml (renamed from core/modules/search/search.local_tasks.yml)0
-rw-r--r--core/modules/shortcut/shortcut.links.action.yml (renamed from core/modules/shortcut/shortcut.local_actions.yml)0
-rw-r--r--core/modules/shortcut/shortcut.links.task.yml (renamed from core/modules/shortcut/shortcut.local_tasks.yml)0
-rw-r--r--core/modules/simpletest/simpletest.links.task.yml (renamed from core/modules/simpletest/simpletest.local_tasks.yml)0
-rw-r--r--core/modules/system/core.api.php2
-rw-r--r--core/modules/system/system.links.action.yml (renamed from core/modules/system/system.local_actions.yml)0
-rw-r--r--core/modules/system/system.links.task.yml (renamed from core/modules/system/system.local_tasks.yml)0
-rw-r--r--core/modules/system/tests/modules/batch_test/batch_test.links.task.yml (renamed from core/modules/system/tests/modules/batch_test/batch_test.local_tasks.yml)0
-rw-r--r--core/modules/system/tests/modules/entity_test/entity_test.links.task.yml (renamed from core/modules/system/tests/modules/entity_test/entity_test.local_tasks.yml)0
-rw-r--r--core/modules/system/tests/modules/menu_test/menu_test.links.action.yml (renamed from core/modules/system/tests/modules/menu_test/menu_test.local_actions.yml)0
-rw-r--r--core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml (renamed from core/modules/system/tests/modules/menu_test/menu_test.contextual_links.yml)0
-rw-r--r--core/modules/system/tests/modules/menu_test/menu_test.links.task.yml (renamed from core/modules/system/tests/modules/menu_test/menu_test.local_tasks.yml)0
-rw-r--r--core/modules/taxonomy/taxonomy.links.action.yml (renamed from core/modules/taxonomy/taxonomy.local_actions.yml)0
-rw-r--r--core/modules/taxonomy/taxonomy.links.contextual.yml (renamed from core/modules/taxonomy/taxonomy.contextual_links.yml)0
-rw-r--r--core/modules/taxonomy/taxonomy.links.task.yml (renamed from core/modules/taxonomy/taxonomy.local_tasks.yml)0
-rw-r--r--core/modules/tour/tests/tour_test/tour_test.links.action.yml (renamed from core/modules/tour/tests/tour_test/tour_test.local_actions.yml)0
-rw-r--r--core/modules/tracker/tracker.links.task.yml (renamed from core/modules/tracker/tracker.local_tasks.yml)0
-rw-r--r--core/modules/update/update.links.action.yml (renamed from core/modules/update/update.local_actions.yml)0
-rw-r--r--core/modules/update/update.links.task.yml (renamed from core/modules/update/update.local_tasks.yml)0
-rw-r--r--core/modules/user/user.links.action.yml (renamed from core/modules/user/user.local_actions.yml)0
-rw-r--r--core/modules/user/user.links.contextual.yml (renamed from core/modules/user/user.contextual_links.yml)0
-rw-r--r--core/modules/user/user.links.task.yml (renamed from core/modules/user/user.local_tasks.yml)0
-rw-r--r--core/modules/views/views.links.task.yml (renamed from core/modules/views/views.local_tasks.yml)0
-rw-r--r--core/modules/views_ui/views_ui.links.action.yml (renamed from core/modules/views_ui/views_ui.local_actions.yml)0
-rw-r--r--core/modules/views_ui/views_ui.links.contextual.yml (renamed from core/modules/views_ui/views_ui.contextual_links.yml)0
-rw-r--r--core/modules/views_ui/views_ui.links.task.yml (renamed from core/modules/views_ui/views_ui.local_tasks.yml)0
-rw-r--r--core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php2
74 files changed, 9 insertions, 9 deletions
diff --git a/core/includes/menu.inc b/core/includes/menu.inc
index da0fa2a..c298e18 100644
--- a/core/includes/menu.inc
+++ b/core/includes/menu.inc
@@ -163,7 +163,7 @@ use Drupal\Core\Template\Attribute;
* Local tasks appear as tabs on a page when there are at least two defined for
* a route, including the base route as the main tab, and additional routes as
* other tabs. Static local tasks can be defined by adding lines like the
- * following to a module_name.local_tasks.yml file (in the top-level directory
+ * following to a module_name.links.task.yml file (in the top-level directory
* for your module):
* @code
* book.admin:
@@ -196,7 +196,7 @@ use Drupal\Core\Template\Attribute;
* instance, adding content is a common operation for the content management
* page, so it should be a local action. Static local actions can be
* defined by adding lines like the following to a
- * module_name.local_actions.yml file (in the top-level directory for your
+ * module_name.links.action.yml file (in the top-level directory for your
* module):
* @code
* node.add_page:
@@ -235,7 +235,7 @@ use Drupal\Core\Template\Attribute;
*
* To declare that a defined route should be a contextual link for a
* contextual links group, put lines like the following in a
- * module_name.contextual_links.yml file (in the top-level directory for your
+ * module_name.links.contextual.yml file (in the top-level directory for your
* module):
* @code
* block_configure:
diff --git a/core/lib/Drupal/Core/Menu/ContextualLinkManager.php b/core/lib/Drupal/Core/Menu/ContextualLinkManager.php
index 0efe4ba..64c8f30 100644
--- a/core/lib/Drupal/Core/Menu/ContextualLinkManager.php
+++ b/core/lib/Drupal/Core/Menu/ContextualLinkManager.php
@@ -103,7 +103,7 @@ class ContextualLinkManager extends DefaultPluginManager implements ContextualLi
* The request stack.
*/
public function __construct(ControllerResolverInterface $controller_resolver, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend, LanguageManager $language_manager, AccessManager $access_manager, AccountInterface $account, RequestStack $request_stack) {
- $this->discovery = new YamlDiscovery('contextual_links', $module_handler->getModuleDirectories());
+ $this->discovery = new YamlDiscovery('links.contextual', $module_handler->getModuleDirectories());
$this->discovery = new ContainerDerivativeDiscoveryDecorator($this->discovery);
$this->factory = new ContainerFactory($this);
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;
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
index 0ca4413..0ca4413 100644
--- a/core/modules/action/action.local_tasks.yml
+++ b/core/modules/action/action.links.task.yml
diff --git a/core/modules/aggregator/aggregator.local_actions.yml b/core/modules/aggregator/aggregator.links.action.yml
index 66276d9..66276d9 100644
--- a/core/modules/aggregator/aggregator.local_actions.yml
+++ b/core/modules/aggregator/aggregator.links.action.yml
diff --git a/core/modules/aggregator/aggregator.local_tasks.yml b/core/modules/aggregator/aggregator.links.task.yml
index 47420f5..47420f5 100644
--- a/core/modules/aggregator/aggregator.local_tasks.yml
+++ b/core/modules/aggregator/aggregator.links.task.yml
diff --git a/core/modules/block/block.contextual_links.yml b/core/modules/block/block.links.contextual.yml
index 5d6ba44..5d6ba44 100644
--- a/core/modules/block/block.contextual_links.yml
+++ b/core/modules/block/block.links.contextual.yml
diff --git a/core/modules/block/block.local_tasks.yml b/core/modules/block/block.links.task.yml
index efba19c..efba19c 100644
--- a/core/modules/block/block.local_tasks.yml
+++ b/core/modules/block/block.links.task.yml
diff --git a/core/modules/block_content/block_content.local_actions.yml b/core/modules/block_content/block_content.links.action.yml
index 735e374..735e374 100644
--- a/core/modules/block_content/block_content.local_actions.yml
+++ b/core/modules/block_content/block_content.links.action.yml
diff --git a/core/modules/block_content/block_content.contextual_links.yml b/core/modules/block_content/block_content.links.contextual.yml
index 4751e6c..4751e6c 100644
--- a/core/modules/block_content/block_content.contextual_links.yml
+++ b/core/modules/block_content/block_content.links.contextual.yml
diff --git a/core/modules/block_content/block_content.local_tasks.yml b/core/modules/block_content/block_content.links.task.yml
index 0674c99..0674c99 100644
--- a/core/modules/block_content/block_content.local_tasks.yml
+++ b/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
index 796c5fd..796c5fd 100644
--- a/core/modules/book/book.local_tasks.yml
+++ b/core/modules/book/book.links.task.yml
diff --git a/core/modules/comment/comment.local_actions.yml b/core/modules/comment/comment.links.action.yml
index 0f65c76..0f65c76 100644
--- a/core/modules/comment/comment.local_actions.yml
+++ b/core/modules/comment/comment.links.action.yml
diff --git a/core/modules/comment/comment.local_tasks.yml b/core/modules/comment/comment.links.task.yml
index ecf92e9..ecf92e9 100644
--- a/core/modules/comment/comment.local_tasks.yml
+++ b/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
index 5a894f0..5a894f0 100644
--- a/core/modules/config/config.local_tasks.yml
+++ b/core/modules/config/config.links.task.yml
diff --git a/core/modules/config/tests/config_test/config_test.local_actions.yml b/core/modules/config/tests/config_test/config_test.links.action.yml
index 8e1e4a4..8e1e4a4 100644
--- a/core/modules/config/tests/config_test/config_test.local_actions.yml
+++ b/core/modules/config/tests/config_test/config_test.links.action.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
index d05ae41..d05ae41 100644
--- a/core/modules/config/tests/config_test/config_test.local_tasks.yml
+++ b/core/modules/config/tests/config_test/config_test.links.task.yml
diff --git a/core/modules/config_translation/config_translation.contextual_links.yml b/core/modules/config_translation/config_translation.links.contextual.yml
index 71c4544..71c4544 100644
--- a/core/modules/config_translation/config_translation.contextual_links.yml
+++ b/core/modules/config_translation/config_translation.links.contextual.yml
diff --git a/core/modules/config_translation/config_translation.local_tasks.yml b/core/modules/config_translation/config_translation.links.task.yml
index 513eb58..513eb58 100644
--- a/core/modules/config_translation/config_translation.local_tasks.yml
+++ b/core/modules/config_translation/config_translation.links.task.yml
diff --git a/core/modules/contact/contact.local_actions.yml b/core/modules/contact/contact.links.action.yml
index c917e7f..c917e7f 100644
--- a/core/modules/contact/contact.local_actions.yml
+++ b/core/modules/contact/contact.links.action.yml
diff --git a/core/modules/contact/contact.local_tasks.yml b/core/modules/contact/contact.links.task.yml
index e613a83..e613a83 100644
--- a/core/modules/contact/contact.local_tasks.yml
+++ b/core/modules/contact/contact.links.task.yml
diff --git a/core/modules/content_translation/content_translation.contextual_links.yml b/core/modules/content_translation/content_translation.links.contextual.yml
index 67aa2eb..67aa2eb 100644
--- a/core/modules/content_translation/content_translation.contextual_links.yml
+++ b/core/modules/content_translation/content_translation.links.contextual.yml
diff --git a/core/modules/content_translation/content_translation.local_tasks.yml b/core/modules/content_translation/content_translation.links.task.yml
index 119d0d9..119d0d9 100644
--- a/core/modules/content_translation/content_translation.local_tasks.yml
+++ b/core/modules/content_translation/content_translation.links.task.yml
diff --git a/core/modules/contextual/contextual.module b/core/modules/contextual/contextual.module
index 2f69521..7969d34 100644
--- a/core/modules/contextual/contextual.module
+++ b/core/modules/contextual/contextual.module
@@ -176,7 +176,7 @@ function contextual_pre_render_placeholder($element) {
* @param $element
* A renderable array containing a #contextual_links property, which is a
* keyed array. Each key is the name of the group of contextual links to
- * render (based on the 'group' key in the *.contextual_links.yml files for
+ * render (based on the 'group' key in the *.links.contextual.yml files for
* all enabled modules). The value contains an associative array containing
* the following keys:
* - route_parameters: The route parameters passed to the url generator.
diff --git a/core/modules/entity/entity.local_actions.yml b/core/modules/entity/entity.links.action.yml
index 85dd31f..85dd31f 100644
--- a/core/modules/entity/entity.local_actions.yml
+++ b/core/modules/entity/entity.links.action.yml
diff --git a/core/modules/entity/entity.local_tasks.yml b/core/modules/entity/entity.links.task.yml
index 409b772..409b772 100644
--- a/core/modules/entity/entity.local_tasks.yml
+++ b/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
index 5f00837..5f00837 100644
--- a/core/modules/field_ui/field_ui.local_tasks.yml
+++ b/core/modules/field_ui/field_ui.links.task.yml
diff --git a/core/modules/filter/filter.local_actions.yml b/core/modules/filter/filter.links.action.yml
index 0ddced4..0ddced4 100644
--- a/core/modules/filter/filter.local_actions.yml
+++ b/core/modules/filter/filter.links.action.yml
diff --git a/core/modules/filter/filter.local_tasks.yml b/core/modules/filter/filter.links.task.yml
index 166132b..166132b 100644
--- a/core/modules/filter/filter.local_tasks.yml
+++ b/core/modules/filter/filter.links.task.yml
diff --git a/core/modules/forum/forum.local_actions.yml b/core/modules/forum/forum.links.action.yml
index 512b9d5..512b9d5 100644
--- a/core/modules/forum/forum.local_actions.yml
+++ b/core/modules/forum/forum.links.action.yml
diff --git a/core/modules/forum/forum.local_tasks.yml b/core/modules/forum/forum.links.task.yml
index 10a8f41..10a8f41 100644
--- a/core/modules/forum/forum.local_tasks.yml
+++ b/core/modules/forum/forum.links.task.yml
diff --git a/core/modules/image/image.local_actions.yml b/core/modules/image/image.links.action.yml
index 134f3a8..134f3a8 100644
--- a/core/modules/image/image.local_actions.yml
+++ b/core/modules/image/image.links.action.yml
diff --git a/core/modules/image/image.local_tasks.yml b/core/modules/image/image.links.task.yml
index c851144..c851144 100644
--- a/core/modules/image/image.local_tasks.yml
+++ b/core/modules/image/image.links.task.yml
diff --git a/core/modules/language/language.local_actions.yml b/core/modules/language/language.links.action.yml
index ad09aa1..ad09aa1 100644
--- a/core/modules/language/language.local_actions.yml
+++ b/core/modules/language/language.links.action.yml
diff --git a/core/modules/language/language.local_tasks.yml b/core/modules/language/language.links.task.yml
index da3a945..da3a945 100644
--- a/core/modules/language/language.local_tasks.yml
+++ b/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
index 7644f3d..7644f3d 100644
--- a/core/modules/locale/locale.local_tasks.yml
+++ b/core/modules/locale/locale.links.task.yml
diff --git a/core/modules/menu_ui/menu_ui.local_actions.yml b/core/modules/menu_ui/menu_ui.links.action.yml
index 0834821..0834821 100644
--- a/core/modules/menu_ui/menu_ui.local_actions.yml
+++ b/core/modules/menu_ui/menu_ui.links.action.yml
diff --git a/core/modules/menu_ui/menu_ui.contextual_links.yml b/core/modules/menu_ui/menu_ui.links.contextual.yml
index 22e3a4e..22e3a4e 100644
--- a/core/modules/menu_ui/menu_ui.contextual_links.yml
+++ b/core/modules/menu_ui/menu_ui.links.contextual.yml
diff --git a/core/modules/menu_ui/menu_ui.local_tasks.yml b/core/modules/menu_ui/menu_ui.links.task.yml
index 92aadeb..92aadeb 100644
--- a/core/modules/menu_ui/menu_ui.local_tasks.yml
+++ b/core/modules/menu_ui/menu_ui.links.task.yml
diff --git a/core/modules/node/node.local_actions.yml b/core/modules/node/node.links.action.yml
index b7b1577..b7b1577 100644
--- a/core/modules/node/node.local_actions.yml
+++ b/core/modules/node/node.links.action.yml
diff --git a/core/modules/node/node.contextual_links.yml b/core/modules/node/node.links.contextual.yml
index 91159bd..91159bd 100644
--- a/core/modules/node/node.contextual_links.yml
+++ b/core/modules/node/node.links.contextual.yml
diff --git a/core/modules/node/node.local_tasks.yml b/core/modules/node/node.links.task.yml
index c61ad90..c61ad90 100644
--- a/core/modules/node/node.local_tasks.yml
+++ b/core/modules/node/node.links.task.yml
diff --git a/core/modules/path/path.local_actions.yml b/core/modules/path/path.links.action.yml
index 9c58984..9c58984 100644
--- a/core/modules/path/path.local_actions.yml
+++ b/core/modules/path/path.links.action.yml
diff --git a/core/modules/path/path.local_tasks.yml b/core/modules/path/path.links.task.yml
index bc59857..bc59857 100644
--- a/core/modules/path/path.local_tasks.yml
+++ b/core/modules/path/path.links.task.yml
diff --git a/core/modules/responsive_image/responsive_image.local_actions.yml b/core/modules/responsive_image/responsive_image.links.action.yml
index 302437e..302437e 100644
--- a/core/modules/responsive_image/responsive_image.local_actions.yml
+++ b/core/modules/responsive_image/responsive_image.links.action.yml
diff --git a/core/modules/responsive_image/responsive_image.local_tasks.yml b/core/modules/responsive_image/responsive_image.links.task.yml
index 7f09a73..7f09a73 100644
--- a/core/modules/responsive_image/responsive_image.local_tasks.yml
+++ b/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
index 882f95f..882f95f 100644
--- a/core/modules/search/search.local_tasks.yml
+++ b/core/modules/search/search.links.task.yml
diff --git a/core/modules/shortcut/shortcut.local_actions.yml b/core/modules/shortcut/shortcut.links.action.yml
index 3ed4a75..3ed4a75 100644
--- a/core/modules/shortcut/shortcut.local_actions.yml
+++ b/core/modules/shortcut/shortcut.links.action.yml
diff --git a/core/modules/shortcut/shortcut.local_tasks.yml b/core/modules/shortcut/shortcut.links.task.yml
index f391583..f391583 100644
--- a/core/modules/shortcut/shortcut.local_tasks.yml
+++ b/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
index 4f1fd00..4f1fd00 100644
--- a/core/modules/simpletest/simpletest.local_tasks.yml
+++ b/core/modules/simpletest/simpletest.links.task.yml
diff --git a/core/modules/system/core.api.php b/core/modules/system/core.api.php
index 0503464..e1b0d80 100644
--- a/core/modules/system/core.api.php
+++ b/core/modules/system/core.api.php
@@ -632,7 +632,7 @@
* call is \Drupal\Core\Datetime\Date::format().
* - Some YML files contain UI text that is automatically translatable:
* - *.routing.yml files: route titles. This also applies to
- * *.local_tasks.yml, *.local_actions, and *.contextual_links.yml files.
+ * *.links.task.yml, *.links.action.yml, and *.links.contextual.yml files.
* - *.info.yml files: module names and descriptions.
* - For configuration, make sure any configuration that is displayable to
* users is marked as translatable in the configuration schema. Configuration
diff --git a/core/modules/system/system.local_actions.yml b/core/modules/system/system.links.action.yml
index c08a2cf..c08a2cf 100644
--- a/core/modules/system/system.local_actions.yml
+++ b/core/modules/system/system.links.action.yml
diff --git a/core/modules/system/system.local_tasks.yml b/core/modules/system/system.links.task.yml
index 02fe18b..02fe18b 100644
--- a/core/modules/system/system.local_tasks.yml
+++ b/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
index f2a8525..f2a8525 100644
--- 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
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
index 1acde6a..1acde6a 100644
--- 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
diff --git a/core/modules/system/tests/modules/menu_test/menu_test.local_actions.yml b/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
index 24c92a2..24c92a2 100644
--- a/core/modules/system/tests/modules/menu_test/menu_test.local_actions.yml
+++ b/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
diff --git a/core/modules/system/tests/modules/menu_test/menu_test.contextual_links.yml b/core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml
index b2d8e47..b2d8e47 100644
--- a/core/modules/system/tests/modules/menu_test/menu_test.contextual_links.yml
+++ b/core/modules/system/tests/modules/menu_test/menu_test.links.contextual.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
index c8cd284..c8cd284 100644
--- 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
diff --git a/core/modules/taxonomy/taxonomy.local_actions.yml b/core/modules/taxonomy/taxonomy.links.action.yml
index 689754a..689754a 100644
--- a/core/modules/taxonomy/taxonomy.local_actions.yml
+++ b/core/modules/taxonomy/taxonomy.links.action.yml
diff --git a/core/modules/taxonomy/taxonomy.contextual_links.yml b/core/modules/taxonomy/taxonomy.links.contextual.yml
index 3fafba7..3fafba7 100644
--- a/core/modules/taxonomy/taxonomy.contextual_links.yml
+++ b/core/modules/taxonomy/taxonomy.links.contextual.yml
diff --git a/core/modules/taxonomy/taxonomy.local_tasks.yml b/core/modules/taxonomy/taxonomy.links.task.yml
index 461d762..461d762 100644
--- a/core/modules/taxonomy/taxonomy.local_tasks.yml
+++ b/core/modules/taxonomy/taxonomy.links.task.yml
diff --git a/core/modules/tour/tests/tour_test/tour_test.local_actions.yml b/core/modules/tour/tests/tour_test/tour_test.links.action.yml
index db52cb5..db52cb5 100644
--- a/core/modules/tour/tests/tour_test/tour_test.local_actions.yml
+++ b/core/modules/tour/tests/tour_test/tour_test.links.action.yml
diff --git a/core/modules/tracker/tracker.local_tasks.yml b/core/modules/tracker/tracker.links.task.yml
index 8092038..8092038 100644
--- a/core/modules/tracker/tracker.local_tasks.yml
+++ b/core/modules/tracker/tracker.links.task.yml
diff --git a/core/modules/update/update.local_actions.yml b/core/modules/update/update.links.action.yml
index d6f6b8d..d6f6b8d 100644
--- a/core/modules/update/update.local_actions.yml
+++ b/core/modules/update/update.links.action.yml
diff --git a/core/modules/update/update.local_tasks.yml b/core/modules/update/update.links.task.yml
index 6246931..6246931 100644
--- a/core/modules/update/update.local_tasks.yml
+++ b/core/modules/update/update.links.task.yml
diff --git a/core/modules/user/user.local_actions.yml b/core/modules/user/user.links.action.yml
index 2a1f892..2a1f892 100644
--- a/core/modules/user/user.local_actions.yml
+++ b/core/modules/user/user.links.action.yml
diff --git a/core/modules/user/user.contextual_links.yml b/core/modules/user/user.links.contextual.yml
index 1e0df52..1e0df52 100644
--- a/core/modules/user/user.contextual_links.yml
+++ b/core/modules/user/user.links.contextual.yml
diff --git a/core/modules/user/user.local_tasks.yml b/core/modules/user/user.links.task.yml
index 88957e4..88957e4 100644
--- a/core/modules/user/user.local_tasks.yml
+++ b/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
index e9debba..e9debba 100644
--- a/core/modules/views/views.local_tasks.yml
+++ b/core/modules/views/views.links.task.yml
diff --git a/core/modules/views_ui/views_ui.local_actions.yml b/core/modules/views_ui/views_ui.links.action.yml
index 6a0ded0..6a0ded0 100644
--- a/core/modules/views_ui/views_ui.local_actions.yml
+++ b/core/modules/views_ui/views_ui.links.action.yml
diff --git a/core/modules/views_ui/views_ui.contextual_links.yml b/core/modules/views_ui/views_ui.links.contextual.yml
index 20e9ead..20e9ead 100644
--- a/core/modules/views_ui/views_ui.contextual_links.yml
+++ b/core/modules/views_ui/views_ui.links.contextual.yml
diff --git a/core/modules/views_ui/views_ui.local_tasks.yml b/core/modules/views_ui/views_ui.links.task.yml
index 9ef586e..9ef586e 100644
--- a/core/modules/views_ui/views_ui.local_tasks.yml
+++ b/core/modules/views_ui/views_ui.links.task.yml
diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
index c620cc9..1a176f6 100644
--- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
+++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTest.php
@@ -108,7 +108,7 @@ abstract class LocalTaskIntegrationTest extends UnitTestCase {
return isset($module_dirs[$module]);
}));
- $pluginDiscovery = new YamlDiscovery('local_tasks', $module_dirs);
+ $pluginDiscovery = new YamlDiscovery('links.task', $module_dirs);
$pluginDiscovery = new ContainerDerivativeDiscoveryDecorator($pluginDiscovery);
$property = new \ReflectionProperty('Drupal\Core\Menu\LocalTaskManager', 'discovery');
$property->setAccessible(TRUE);