Commit 46101597 authored by alexpott's avatar alexpott

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

parent f3cda09f
......@@ -34,9 +34,9 @@
* "label" = "label"
* },
* links = {
* "delete-form" = "user.role_delete",
* "edit-form" = "user.role_edit",
* "edit-permissions-form" = "user.admin_permission"
* "delete-form" = "entity.user_role.delete_form",
* "edit-form" = "entity.user_role.edit_form",
* "edit-permissions-form" = "entity.user_role.edit_permissions_form"
* }
* )
*/
......
user.role_delete:
entity.user_role.delete_form:
title: 'Delete role'
group: role
weight: 10
route_name: 'user.role_delete'
route_name: 'entity.user_role.delete_form'
user.role_edit:
entity.user_role.edit_form:
title: 'Edit'
route_name: user.role_edit
base_route: user.role_edit
route_name: entity.user_role.edit_form
base_route: entity.user_role.edit_form
user.account_settings_tab:
route_name: user.account_settings
......
......@@ -67,7 +67,7 @@ user.admin_permissions:
requirements:
_permission: 'administer permissions'
user.admin_permission:
entity.user_role.edit_permissions_form:
path: '/admin/people/permissions/{user_role}'
defaults:
_form: '\Drupal\user\Form\UserPermissionsRoleSpecificForm'
......@@ -99,7 +99,7 @@ user.role_add:
requirements:
_permission: 'administer permissions'
user.role_edit:
entity.user_role.edit_form:
path: '/admin/people/roles/manage/{user_role}'
defaults:
_entity_form: user_role.default
......@@ -107,7 +107,7 @@ user.role_edit:
requirements:
_entity_access: user_role.update
user.role_delete:
entity.user_role.delete_form:
path: '/admin/people/roles/manage/{user_role}/delete'
defaults:
_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