add_to_head.routing.yml in Add To Head 8
File
add_to_head.routing.yml
View source
- add_to_head.admin:
- path: '/admin/config/development/add-to-head'
- defaults:
- _controller: '\Drupal\add_to_head\Controller\AddToHeadController::adminOverview'
- _title: 'Add To Head'
- requirements:
- _permission: 'administer add to head'
-
- add_to_head.add_profile:
- path: '/admin/config/development/add-to-head/add'
- defaults:
- _form: '\Drupal\add_to_head\Form\AddToHeadProfileForm'
- _title: 'Add New Profile'
- requirements:
- _permission: 'administer add to head'
-
- add_to_head.edit_profile:
- path: '/admin/config/development/add-to-head/{profile}/edit'
- defaults:
- _form: '\Drupal\add_to_head\Form\AddToHeadProfileForm'
- _title: 'Edit Profile'
- options:
- parameters:
- profile:
- type: add_to_head_profile
- requirements:
- _permission: 'administer add to head'
-
- add_to_head.delete_profile:
- path: '/admin/config/development/add-to-head/{profile}/delete'
- defaults:
- _form: '\Drupal\add_to_head\Form\AddToHeadDeleteProfileForm'
- _title: 'Delete Profile'
- options:
- parameters:
- profile:
- type: add_to_head_profile
- requirements:
- _permission: 'administer add to head'
-