field_permission_example.routing.yml
Same filename in other branches
1 string reference to YAML keys in field_permission_example.routing.yml
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links to provide.
File
-
modules/
field_permission_example/ field_permission_example.routing.yml
View source
- field_permission_example.description:
- path: '/examples/field-permission-example'
- defaults:
- _title: 'Field Permission Example'
- _controller: '\Drupal\field_permission_example\Controller\FieldPermissionExampleController::description'
- requirements:
- _permission: 'access content'