Commit 46101597 authored by alexpott's avatar alexpott
Browse files

Issue #2314883 by Crell: Standardize role entity route names.

parent f3cda09f
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
* "label" = "label" * "label" = "label"
* }, * },
* links = { * links = {
* "delete-form" = "user.role_delete", * "delete-form" = "entity.user_role.delete_form",
* "edit-form" = "user.role_edit", * "edit-form" = "entity.user_role.edit_form",
* "edit-permissions-form" = "user.admin_permission" * "edit-permissions-form" = "entity.user_role.edit_permissions_form"
* } * }
* ) * )
*/ */
......
user.role_delete: entity.user_role.delete_form:
title: 'Delete role' title: 'Delete role'
group: role group: role
weight: 10 weight: 10
route_name: 'user.role_delete' route_name: 'entity.user_role.delete_form'
user.role_edit: entity.user_role.edit_form:
title: 'Edit' title: 'Edit'
route_name: user.role_edit route_name: entity.user_role.edit_form
base_route: user.role_edit base_route: entity.user_role.edit_form
user.account_settings_tab: user.account_settings_tab:
route_name: user.account_settings route_name: user.account_settings
......
...@@ -67,7 +67,7 @@ user.admin_permissions: ...@@ -67,7 +67,7 @@ user.admin_permissions:
requirements: requirements:
_permission: 'administer permissions' _permission: 'administer permissions'
user.admin_permission: entity.user_role.edit_permissions_form:
path: '/admin/people/permissions/{user_role}' path: '/admin/people/permissions/{user_role}'
defaults: defaults:
_form: '\Drupal\user\Form\UserPermissionsRoleSpecificForm' _form: '\Drupal\user\Form\UserPermissionsRoleSpecificForm'
...@@ -99,7 +99,7 @@ user.role_add: ...@@ -99,7 +99,7 @@ user.role_add:
requirements: requirements:
_permission: 'administer permissions' _permission: 'administer permissions'
user.role_edit: entity.user_role.edit_form:
path: '/admin/people/roles/manage/{user_role}' path: '/admin/people/roles/manage/{user_role}'
defaults: defaults:
_entity_form: user_role.default _entity_form: user_role.default
...@@ -107,7 +107,7 @@ user.role_edit: ...@@ -107,7 +107,7 @@ user.role_edit:
requirements: requirements:
_entity_access: user_role.update _entity_access: user_role.update
user.role_delete: entity.user_role.delete_form:
path: '/admin/people/roles/manage/{user_role}/delete' path: '/admin/people/roles/manage/{user_role}/delete'
defaults: defaults:
_entity_form: user_role.delete _entity_form: user_role.delete
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment