You are here

basic_auth_test.routing.yml in Drupal 9

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.yml
View source
  1. basic_auth_test.state.modify:
  2. path: '/basic_auth_test/state/modify'
  3. defaults:
  4. _controller: '\Drupal\basic_auth_test\BasicAuthTestController::modifyState'
  5. options:
  6. _auth:
  7. - basic_auth
  8. requirements:
  9. _user_is_logged_in: 'TRUE'
  10. basic_auth_test.state.read:
  11. path: '/basic_auth_test/state/read'
  12. defaults:
  13. _controller: '\Drupal\basic_auth_test\BasicAuthTestController::readState'
  14. requirements:
  15. _access: 'TRUE'