hooks_example.routing.yml
Same filename in other branches
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
-
hooks_example/
hooks_example.routing.yml
View 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'