You are here

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

modules/field_permission_example/field_permission_example.routing.yml

File

modules/field_permission_example/field_permission_example.routing.yml
View source
  1. field_permission_example.description:
  2. path: '/examples/field-permission-example'
  3. defaults:
  4. _title: 'Field Permission Example'
  5. _controller: '\Drupal\field_permission_example\Controller\FieldPermissionExampleController::description'
  6. requirements:
  7. _permission: 'access content'