Commit 4d7bb090 authored by webchick's avatar webchick
Browse files

Issue #2314871 by Crell: Standardize Entity module entity route names.

parent e3cb87a7
entity.view_mode_edit: entity.view_mode.edit_form:
title: 'Edit' title: 'Edit'
route_name: entity.view_mode_edit route_name: entity.view_mode.edit_form
base_route: entity.view_mode_edit base_route: entity.view_mode.edit_form
entity.form_mode_edit: entity.form_mode.edit_form:
title: 'Edit' title: 'Edit'
route_name: entity.form_mode_edit route_name: entity.form_mode.edit_form
base_route: entity.form_mode_edit base_route: entity.form_mode.edit_form
entity.view_mode_list: entity.view_mode_list:
title: List title: List
......
...@@ -30,7 +30,7 @@ entity.view_mode_add_type: ...@@ -30,7 +30,7 @@ entity.view_mode_add_type:
requirements: requirements:
_permission: 'administer display modes' _permission: 'administer display modes'
entity.view_mode_edit: entity.view_mode.edit_form:
path: '/admin/structure/display-modes/view/manage/{view_mode}' path: '/admin/structure/display-modes/view/manage/{view_mode}'
defaults: defaults:
_entity_form: 'view_mode.edit' _entity_form: 'view_mode.edit'
...@@ -38,7 +38,7 @@ entity.view_mode_edit: ...@@ -38,7 +38,7 @@ entity.view_mode_edit:
requirements: requirements:
_entity_access: 'view_mode.update' _entity_access: 'view_mode.update'
entity.view_mode_delete: entity.view_mode.delete_form:
path: '/admin/structure/display-modes/view/manage/{view_mode}/delete' path: '/admin/structure/display-modes/view/manage/{view_mode}/delete'
defaults: defaults:
_entity_form: 'view_mode.delete' _entity_form: 'view_mode.delete'
...@@ -70,7 +70,7 @@ entity.form_mode_add_type: ...@@ -70,7 +70,7 @@ entity.form_mode_add_type:
requirements: requirements:
_permission: 'administer display modes' _permission: 'administer display modes'
entity.form_mode_edit: entity.form_mode.edit_form:
path: '/admin/structure/display-modes/form/manage/{form_mode}' path: '/admin/structure/display-modes/form/manage/{form_mode}'
defaults: defaults:
_entity_form: 'form_mode.edit' _entity_form: 'form_mode.edit'
...@@ -78,7 +78,7 @@ entity.form_mode_edit: ...@@ -78,7 +78,7 @@ entity.form_mode_edit:
requirements: requirements:
_entity_access: 'form_mode.update' _entity_access: 'form_mode.update'
entity.form_mode_delete: entity.form_mode.delete_form:
path: '/admin/structure/display-modes/form/manage/{form_mode}/delete' path: '/admin/structure/display-modes/form/manage/{form_mode}/delete'
defaults: defaults:
_entity_form: 'form_mode.delete' _entity_form: 'form_mode.delete'
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
* "label" = "label" * "label" = "label"
* }, * },
* links = { * links = {
* "delete-form" = "entity.form_mode_delete", * "delete-form" = "entity.form_mode.delete_form",
* "edit-form" = "entity.form_mode_edit" * "edit-form" = "entity.form_mode.edit_form"
* } * }
* ) * )
*/ */
......
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
* "label" = "label" * "label" = "label"
* }, * },
* links = { * links = {
* "delete-form" = "entity.view_mode_delete", * "delete-form" = "entity.view_mode.delete_form",
* "edit-form" = "entity.view_mode_edit" * "edit-form" = "entity.view_mode.edit_form"
* } * }
* ) * )
*/ */
......
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