courier.routing.yml in Courier 8
File
courier.routing.yml
View source
- entity.courier_template_collection.channel:
- path: '/courier/collection/{courier_template_collection}/template/{courier_channel}'
- defaults:
- _controller: '\Drupal\courier\Controller\ChannelFormController::template'
- _title: 'Edit template'
- requirements:
- _entity_access: 'courier_template_collection.templates'
- options:
- parameters:
- courier_template_collection:
- type: entity:courier_template_collection
- courier_channel:
- type: 'courier_channel'
-
- entity.courier_template_collection.tokens:
- path: '/courier/collection/{courier_template_collection}/tokens'
- defaults:
- _controller: '\Drupal\courier\Controller\ChannelFormController::tokens'
- _title: 'Token list'
- requirements:
- _entity_access: 'courier_template_collection.templates'
- options:
- parameters:
- courier_template_collection:
- type: entity:courier_template_collection
-
- entity.courier_email.canonical:
- path: '/courier/email/{courier_email}'
- defaults:
- _entity_view: 'courier_email'
- _title: 'Email'
- requirements:
- _entity_access: 'courier_email.view'
-
- entity.courier_email.edit_form:
- path: '/courier/email/{courier_email}/edit'
- defaults:
- _entity_form: 'courier_email.edit'
- _title: 'Edit email'
- requirements:
- _entity_access: 'courier_email.update'
-
- entity.courier_email.delete_form:
- path: '/courier/email/{courier_email}/delete'
- defaults:
- _entity_form: 'courier_email.delete'
- _title: 'Delete email'
- requirements:
- _entity_access: 'courier_email.delete'
-
- courier.admin_config_communication:
- path: '/admin/config/communication'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Communication'
- requirements:
- _permission: 'access administration pages'
-
- courier.admin.settings:
- path: '/admin/config/communication/courier'
- defaults:
- _form: '\Drupal\courier\Form\Settings'
- _title: 'Courier settings'
- requirements:
- _permission: 'administer courier'
-
- courier.admin.maintenance:
- path: '/admin/config/communication/courier/maintenance'
- defaults:
- _form: '\Drupal\courier\Form\CourierMaintenanceForm'
- _title: 'Courier maintenance'
- requirements:
- _permission: 'administer courier'