basic_auth_test.routing.yml in Drupal 9
Same filename and directory in other branches
core/modules/basic_auth/tests/modules/basic_auth_test/basic_auth_test.routing.yml
File
core/modules/basic_auth/tests/modules/basic_auth_test/basic_auth_test.routing.ymlView source
- basic_auth_test.state.modify:
- path: '/basic_auth_test/state/modify'
- defaults:
- _controller: '\Drupal\basic_auth_test\BasicAuthTestController::modifyState'
- options:
- _auth:
- - basic_auth
- requirements:
- _user_is_logged_in: 'TRUE'
-
- basic_auth_test.state.read:
- path: '/basic_auth_test/state/read'
- defaults:
- _controller: '\Drupal\basic_auth_test\BasicAuthTestController::readState'
- requirements:
- _access: 'TRUE'