Issue #2314865 by Crell: Standardize contact entity route names.
parent
1d727ae1ba
commit
de764ba9a1
|
@ -1,7 +1,7 @@
|
|||
contact.category_edit:
|
||||
entity.contact_category.edit_form:
|
||||
title: 'Edit'
|
||||
route_name: contact.category_edit
|
||||
base_route: contact.category_edit
|
||||
route_name: entity.contact_category.edit_form
|
||||
base_route: entity.contact_category.edit_form
|
||||
|
||||
contact.personal_page:
|
||||
title: 'Contact'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
contact.category_delete:
|
||||
entity.contact_category.delete_form:
|
||||
path: '/admin/structure/contact/manage/{contact_category}/delete'
|
||||
defaults:
|
||||
_entity_form: 'contact_category.delete'
|
||||
|
@ -22,7 +22,7 @@ contact.category_add:
|
|||
requirements:
|
||||
_permission: 'administer contact forms'
|
||||
|
||||
contact.category_edit:
|
||||
entity.contact_category.edit_form:
|
||||
path: '/admin/structure/contact/manage/{contact_category}'
|
||||
defaults:
|
||||
_entity_form: 'contact_category.edit'
|
||||
|
|
|
@ -35,8 +35,8 @@ use Drupal\contact\CategoryInterface;
|
|||
* "label" = "label"
|
||||
* },
|
||||
* links = {
|
||||
* "delete-form" = "contact.category_delete",
|
||||
* "edit-form" = "contact.category_edit"
|
||||
* "delete-form" = "entity.contact_category.delete_form",
|
||||
* "edit-form" = "entity.contact_category.edit_form"
|
||||
* }
|
||||
* )
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,7 @@ use Drupal\Core\Field\FieldDefinition;
|
|||
* bundle_entity_type = "contact_category",
|
||||
* fieldable = TRUE,
|
||||
* links = {
|
||||
* "admin-form" = "contact.category_edit"
|
||||
* "admin-form" = "entity.contact_category.edit_form"
|
||||
* }
|
||||
* )
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue