field_example.routing.yml

Same filename in other branches
  1. 3.x modules/field_example/field_example.routing.yml
  2. 8.x-1.x field_example/field_example.routing.yml
modules/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 for testing toolbar routes.

File

modules/field_example/field_example.routing.yml

View source
  1. # Provides a simple user interface that tells the developer where to go.
  2. field_example.description:
  3. path: '/examples/field-example'
  4. defaults:
  5. _controller: '\Drupal\field_example\Controller\FieldExampleController::description'
  6. requirements:
  7. _permission: 'access content'