Issue #2314865 by Crell: Standardize contact entity route names.

8.0.x
webchick 2014-08-04 10:03:12 -07:00
parent 1d727ae1ba
commit de764ba9a1
4 changed files with 8 additions and 8 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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"
* }
* )
*/

View File

@ -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"
* }
* )
*/