trusted_hosts_test.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
  2. 10 core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
  3. 11.x core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml

File

core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml

View source
  1. trusted_hosts_test.fake_request:
  2. path: '/trusted-hosts-test/fake-request'
  3. defaults:
  4. _controller: '\Drupal\trusted_hosts_test\Controller\TrustedHostsTestController::fakeRequestHost'
  5. requirements:
  6. _access: 'TRUE'
  7. trusted_hosts_test.bag_type:
  8. path: '/trusted-hosts-test/bag-type/{bag}'
  9. defaults:
  10. _controller: '\Drupal\trusted_hosts_test\Controller\TrustedHostsTestController::bagType'
  11. requirements:
  12. _access: 'TRUE'

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