theme_legacy_test.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.routing.yml
core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.routing.yml

File

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

View source
  1. theme_test.function_template_override:
  2. path: '/theme-test/function-template-overridden'
  3. options:
  4. _custom_theme: 'test_theme'
  5. defaults:
  6. _controller: '\Drupal\theme_legacy_test\ThemeTestController::functionTemplateOverridden'
  7. requirements:
  8. _access: 'TRUE'
  9. function_suggestion_alter:
  10. path: '/theme-test/function-suggestion-alter'
  11. defaults:
  12. _controller: '\Drupal\theme_legacy_test\ThemeTestController::functionSuggestionAlter'
  13. requirements:
  14. _access: 'TRUE'
  15. suggestion_alter_include:
  16. path: '/theme-test/suggestion-alter-include'
  17. defaults:
  18. _controller: '\Drupal\theme_legacy_test\ThemeTestController::suggestionAlterInclude'
  19. requirements:
  20. _access: 'TRUE'

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