basic_auth_test.routing.yml

Same filename in other branches
  1. 9 core/modules/basic_auth/tests/modules/basic_auth_test/basic_auth_test.routing.yml
  2. 8.9.x core/modules/basic_auth/tests/modules/basic_auth_test/basic_auth_test.routing.yml
  3. 11.x core/modules/basic_auth/tests/modules/basic_auth_test/basic_auth_test.routing.yml
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'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.