view_revisions.routing.yml in Config Entity Revisions 8.2
modules/view_revisions/view_revisions.routing.yml
4 string references to YAML keys in view_revisions.routing.yml
- ViewRevisionsFormAlter::getAddFormRoutes in modules/
view_revisions/ src/ ViewRevisionsFormAlter.php - ViewRevisions routes that provide an add form.
- ViewRevisionsFormAlter::getEditFormRoutes in modules/
view_revisions/ src/ ViewRevisionsFormAlter.php - ViewRevisions routes that provide add or edit forms.
- ViewRevisionsPreviewForm::actions in modules/
view_revisions/ src/ ViewRevisionsPreviewForm.php - Returns an array of supported actions for the current entity form.
- ViewRevisionsPreviewForm::form in modules/
view_revisions/ src/ ViewRevisionsPreviewForm.php - Gets the actual form array to be built.
File
modules/view_revisions/view_revisions.routing.ymlView source
- entity.view.revisions:
- path: '/admin/structure/views/view/{view}/revisions'
- defaults:
- _title: 'Revisions'
- _form: '\Drupal\view_revisions\Form\ViewRevisionsOverviewForm'
- options:
- _admin_route: TRUE
- parameters:
- view:
- type: 'entity:view'
- requirements:
- _permission: 'administer views revisions'
-
- entity.view.revision:
- path: '/admin/structure/views/view/{view}/revision/{revision_id}'
- defaults:
- _controller: '\Drupal\views_ui\Controller\ViewsUIController::edit'
- _title_callback: '\Drupal\view_revisions\Controller\ViewRevisionsController::revisionShowTitle'
- requirements:
- _permission: 'administer views revisions'
- revision_id: \d+
- options:
- parameters:
- view:
- type: 'entity:view'
-
- entity.view.preview_revision_form:
- path: '/admin/structure/views/view/{view}/revision/{revision_id}/preview/{display_id}'
- options:
- parameters:
- view:
- tempstore: TRUE
- type: entity:view
- revision_id:
- defaults:
- _entity_form: 'view.preview'
- display_id: NULL
- requirements:
- _permission: 'administer views'
- revision_id: \d+
-
- entity.view.revision_revert_confirm:
- path: '/admin/structure/views/view/{config_entity}/revisions/{revision_id}/revert'
- defaults:
- _form: '\Drupal\view_revisions\Form\ViewRevisionsRevertForm'
- _title: 'Revert to earlier revision'
- requirements:
- _permission: 'administer views revisions'
- revision_id: \d+
- options:
- _admin_route: TRUE
- parameters:
- config_entity:
- type: 'entity:view'
-
- entity.view.revision_delete_confirm:
- path: '/admin/structure/views/view/{config_entity}/revisions/{revision_id}/delete'
- defaults:
- _form: '\Drupal\view_revisions\Form\ViewRevisionsDeleteForm'
- _title: 'Delete a revision'
- requirements:
- _permission: 'administer views revisions'
- revision_id: \d+
- options:
- _admin_route: TRUE
- parameters:
- config_entity:
- type: 'entity:view'