basic_auth_test.routing.yml
Same filename in other branches
File
-
core/
modules/ basic_auth/ tests/ modules/ basic_auth_test/ basic_auth_test.routing.yml
View 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'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.