field_example.routing.yml in Examples for Developers 8
field_example/field_example.routing.yml
1 string reference to YAML keys in field_example.routing.yml
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links to provide.
File
field_example/field_example.routing.ymlView source
- # Provides a simple user interface that tells the developer where to go.
- field_example.description:
- path: '/examples/field-example'
- defaults:
- _controller: '\Drupal\field_example\Controller\FieldExampleController::description'
- requirements:
- _permission: 'access content'