You are here

field_example.routing.yml in Examples for Developers 3.x

modules/field_example/field_example.routing.yml

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'