log.routing.yml in Log entity 8
File
log.routing.yml
View source
- log.add_page:
- path: '/log/add'
- defaults:
- _title: 'Add content'
- _controller: '\Drupal\log\Controller\LogController::addPage'
- options:
- _log_operation_route: TRUE
- requirements:
- _log_add_access: 'log'
-
- log.add:
- path: '/log/add/{log_type}'
- defaults:
- _controller: '\Drupal\log\Controller\LogController::add'
- _title_callback: '\Drupal\log\Controller\LogController::addPageTitle'
- requirements:
- _log_add_access: 'log:{log_type}'
- options:
- _log_operation_route: TRUE
- parameters:
- log_type:
- with_config_overrides: TRUE
-
- # LogType routing definition
- entity.log_type.collection:
- path: '/admin/structure/logs'
- defaults:
- _entity_list: 'log_type'
- _title: 'Log type'
- requirements:
- _permission: 'administer log types'
- options:
- _admin_route: TRUE
-
- entity.log_type.add_form:
- path: '/admin/structure/logs/add'
- defaults:
- _entity_form: 'log_type.add'
- _title: 'Add Log type'
- requirements:
- _permission: 'administer log types'
- options:
- _admin_route: TRUE
-
- log.multiple_delete_confirm:
- path: '/admin/content/log/delete'
- defaults:
- _form: '\Drupal\log\Form\DeleteMultiple'
- requirements:
- _custom_access: '\Drupal\log\Form\DeleteMultiple::access'