routing_access_test.routing.yml in Coder 8.3
Same filename and directory in other branches
tests/DrupalPractice/Yaml/routing_access_test.routing.yml
File
tests/DrupalPractice/Yaml/routing_access_test.routing.ymlView source
- example.test:
- path: '/example'
- defaults:
- _form: '\Drupal\user\Form\UserPasswordForm'
- _title: 'Reset your password'
- requirements:
- _access: 'TRUE'
- options:
- _maintenance_access: TRUE
-
- example.test2:
- path: '/example2'
- defaults:
- _form: '\Drupal\user\Form\UserPasswordForm'
- _title: 'Reset your password'
- requirements:
- # Here is a comment why this open access callback is OK.
- _access: 'TRUE'
- options:
- _maintenance_access: TRUE
-
- example.test3:
- path: '/example3'
- defaults:
- _form: '\Drupal\user\Form\UserPasswordForm'
- _title: 'Reset your password'
- requirements:
- _permission: 'access administration pages'
- options:
- _maintenance_access: TRUE