theme_test.routing.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/theme_test/theme_test.routing.yml
  2. 8.9.x core/modules/system/tests/modules/theme_test/theme_test.routing.yml
  3. 10 core/modules/system/tests/modules/theme_test/theme_test.routing.yml
core/modules/system/tests/modules/theme_test/theme_test.routing.yml
3 string references to YAML keys in theme_test.routing.yml
HighPriorityThemeNegotiator::applies in core/modules/system/tests/modules/theme_test/src/Theme/HighPriorityThemeNegotiator.php
Whether this theme negotiator should be used to set the theme.
ThemeTestSubscriber::onRequest in core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
Generates themed output early in a page request.
theme_test_theme in core/modules/system/tests/modules/theme_test/theme_test.module
Implements hook_theme().

File

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

View source
  1. theme_test.template_test:
  2. path: '/theme-test/template-test'
  3. defaults:
  4. _controller: '\Drupal\theme_test\ThemeTestController::testTemplate'
  5. requirements:
  6. _access: 'TRUE'
  7. theme_test.inline_template_test:
  8. path: '/theme-test/inline-template-test'
  9. defaults:
  10. _controller: '\Drupal\theme_test\ThemeTestController::testInlineTemplate'
  11. requirements:
  12. _access: 'TRUE'
  13. theme_test.suggestion:
  14. path: '/theme-test/suggestion'
  15. options:
  16. _custom_theme: 'test_theme'
  17. defaults:
  18. _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
  19. _title: 'Suggestion'
  20. requirements:
  21. _access: 'TRUE'
  22. theme_test.priority:
  23. path: '/theme-test/priority'
  24. options:
  25. _custom_theme: 'test_theme'
  26. defaults:
  27. _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
  28. _title: 'Suggestion'
  29. requirements:
  30. _access: 'TRUE'
  31. theme_test.request_listener:
  32. path: '/theme-test/request-listener'
  33. defaults:
  34. _controller: '\Drupal\theme_test\ThemeTestController::testRequestListener'
  35. requirements:
  36. _access: 'TRUE'
  37. suggestion_alter:
  38. path: '/theme-test/suggestion-alter'
  39. defaults:
  40. _controller: '\Drupal\theme_test\ThemeTestController::suggestionAlter'
  41. requirements:
  42. _access: 'TRUE'
  43. theme_test.general_suggestion_alter:
  44. path: '/theme-test/general-suggestion-alter'
  45. defaults:
  46. _controller: '\Drupal\theme_test\ThemeTestController::generalSuggestionAlter'
  47. requirements:
  48. _access: 'TRUE'
  49. suggestion_provided:
  50. path: '/theme-test/suggestion-provided'
  51. defaults:
  52. _controller: '\Drupal\theme_test\ThemeTestController::suggestionProvided'
  53. requirements:
  54. _access: 'TRUE'
  55. specific_suggestion_alter:
  56. path: '/theme-test/specific-suggestion-alter'
  57. defaults:
  58. _controller: '\Drupal\theme_test\ThemeTestController::specificSuggestionAlter'
  59. requirements:
  60. _access: 'TRUE'
  61. theme_test.non_html:
  62. path: '/theme-test/non-html'
  63. defaults:
  64. _controller: '\Drupal\theme_test\ThemeTestController::nonHtml'
  65. requirements:
  66. _access: 'TRUE'
  67. theme_test.preprocess_suggestions:
  68. path: '/theme-test/preprocess-suggestions'
  69. defaults:
  70. _controller: '\Drupal\theme_test\ThemeTestController::preprocessSuggestions'
  71. requirements:
  72. _access: 'TRUE'
  73. theme_test.preprocess_callback:
  74. path: '/theme-test/preprocess-callback'
  75. defaults:
  76. _controller: '\Drupal\theme_test\ThemeTestController::preprocessCallback'
  77. requirements:
  78. _access: 'TRUE'
  79. theme_test.test_theme_class:
  80. path: '/theme-test/test-theme-class'
  81. defaults:
  82. _controller: '\Drupal\theme_test\ThemeTestController::testThemeClass'
  83. requirements:
  84. _access: 'TRUE'

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