hooks_example.routing.yml in Examples for Developers 3.x
modules/hooks_example/hooks_example.routing.yml
1 string reference to YAML keys in hooks_example.routing.yml
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links to provide.
File
modules/hooks_example/hooks_example.routing.ymlView source
- # hooks_example only has one route. It is to a page explaining the module.
- hooks_example.description:
- path: '/examples/hooks-example'
- defaults:
- _controller: '\Drupal\hooks_example\Controller\HooksExampleController::description'
- _title: 'Hooks Example'
- requirements:
- _permission: 'access content'