Drupal Association members fund grants that make connections all over the world.
Updated: Comment #0
Our plugin IDs local_tasks.yml were using _ as a separator. This does not match the new convention decided for routing.yml in
To be less confusing, use the same convention for local_tasks.yml files.
The proposed local_tasks.yml standard is
where sub_name uses lower-case and underscores only.
However, the plugin ID is an arbitrary string so the important element of the standard is using the leading "module_name." to avoid collisions of IDs provided by different modules. The doc page at https://drupal.org/node/2122253 notes that developers may append ".tab" or ".task" if it helps them to remember that the plugin ID is not actually the same as the route name.
1. Agree upon the convention.
2. (done) Document the convention as a coding standard. (optimistically done in https://drupal.org/node/2044515/revisions/view/2847981/2850471 since there was no standard for the plugin ID documented there before now.)
3. Patch core to agree with this convention. (there are only 4 local_tasks.yml files, comments, 2 menu_ui tests, views_ui. views_ui is already using this standard)
User interface changes
?? (update this) Route machine names would change, so if anyone already has alter hooks or any code that depends on specific machine names, that code would break.
- (in contrib module config_translation)
PASSED: [[SimpleTest]]: [MySQL] 59,050 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 58,856 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] 58,851 pass(es), 6 fail(s), and 6 exception(s). View