ccl.routing.yml in Custom Contextual Links 8
File
ccl.routing.yml
View source
- ccl.admin:
- path: /admin/config/user-interface/ccl
- defaults:
- _title: 'Custom Contextual Links'
- _controller: '\Drupal\ccl\Controller\DefaultController::ccl_admin'
- requirements:
- _permission: 'use ccl'
- ccl.add_form:
- path: '/admin/config/user-interface/ccl/{clid}/edit'
- defaults:
- clid: 0
- _title: 'Edit custom link'
- _form: \Drupal\ccl\Form\CclAddForm
- requirements:
- _permission: 'use ccl'
- ccl.delete_confirm:
- path: '/admin/config/user-interface/ccl/{id}/delete'
- defaults:
- _title: 'Delete custom link'
- _form: \Drupal\ccl\Form\CclDeleteConfirm
- requirements:
- _permission: 'use ccl'
- ccl.node_autocomplete:
- path: /admin/config/user-interface/ccl/autocomplete
- defaults:
- _title: 'Node autocomplete'
- _controller: '\Drupal\ccl\Controller\DefaultController::ccl_node_autocomplete'
- requirements:
- _permission: 'use ccl'