contact_form_revisions.routing.yml in Config Entity Revisions 8.2
modules/contact_form_revisions/contact_form_revisions.routing.yml
1 string reference to YAML keys in contact_form_revisions.routing.yml
- contact_form_revisions_form_alter in modules/
contact_form_revisions/ contact_form_revisions.module - Implements hook_form_alter().
File
modules/contact_form_revisions/contact_form_revisions.routing.ymlView source
- entity.contact_form.revisions:
- path: '/admin/structure/contact/manage/{contact_form}/revisions'
- defaults:
- _title: 'Revisions'
- _form: '\Drupal\contact_form_revisions\Form\ContactFormRevisionsOverviewForm'
- options:
- parameters:
- contact_form:
- type: 'entity:contact_form'
- requirements:
- _permission: 'administer contact form revisions'
- entity.contact_form.revision:
- path: '/admin/structure/contact/manage/{contact_form}/revisions/{revision_id}'
- defaults:
- _entity_form: 'contact_form.edit'
- _title: 'Edit contact form'
- _title_callback: '\Drupal\contact_form_revisions\Controller\ContactFormRevisionsController::revisionShowTitle'
- requirements:
- _permission: 'administer contact forms'
- revision_id: \d+
- options:
- parameters:
- contact_form:
- type: 'entity:contact_form'
- entity.contact_form.revision_revert_confirm:
- path: '/admin/structure/contact/manage/{config_entity}/revisions/{revision_id}/revert'
- defaults:
- _form: '\Drupal\contact_form_revisions\Form\ContactFormRevisionsRevertForm'
- _title: 'Revert to earlier revision'
- requirements:
- _permission: 'administer contact form revisions'
- revision_id: \d+
- options:
- _node_operation_route: TRUE
- parameters:
- config_entity:
- type: 'entity:contact_form'
- entity.contact_form.revision_delete_confirm:
- path: '/admin/structure/contact/manage/{config_entity}/revisions/{revision_id}/delete'
- defaults:
- _form: '\Drupal\contact_form_revisions\Form\ContactFormRevisionsDeleteForm'
- _title: 'Delete a revision'
- requirements:
- _permission: 'administer contact form revisions'
- revision_id: \d+
- options:
- _node_operation_route: TRUE
- parameters:
- config_entity:
- type: 'entity:contact_form'