You are here

theme_test.routing.yml in Zircon Profile 8

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

File

core/modules/system/tests/modules/theme_test/theme_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_test\ThemeTestController::functionTemplateOverridden'
  7. requirements:
  8. _access: 'TRUE'
  9. theme_test.info_stylesheets:
  10. path: '/theme-test/info/stylesheets'
  11. defaults:
  12. _controller: '\Drupal\theme_test\ThemeTestController::testInfoStylesheets'
  13. requirements:
  14. _access: 'TRUE'
  15. theme_test.template_test:
  16. path: '/theme-test/template-test'
  17. defaults:
  18. _controller: '\Drupal\theme_test\ThemeTestController::testTemplate'
  19. requirements:
  20. _access: 'TRUE'
  21. theme_test.inline_template_test:
  22. path: '/theme-test/inline-template-test'
  23. defaults:
  24. _controller: '\Drupal\theme_test\ThemeTestController::testInlineTemplate'
  25. requirements:
  26. _access: 'TRUE'
  27. theme_test.suggestion:
  28. path: '/theme-test/suggestion'
  29. options:
  30. _custom_theme: 'test_theme'
  31. defaults:
  32. _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
  33. _title: 'Suggestion'
  34. requirements:
  35. _access: 'TRUE'
  36. theme_test.priority:
  37. path: '/theme-test/priority'
  38. options:
  39. _custom_theme: 'test_theme'
  40. defaults:
  41. _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
  42. _title: 'Suggestion'
  43. requirements:
  44. _access: 'TRUE'
  45. theme_test.request_listener:
  46. path: '/theme-test/request-listener'
  47. defaults:
  48. _controller: '\Drupal\theme_test\ThemeTestController::testRequestListener'
  49. requirements:
  50. _access: 'TRUE'
  51. suggestion_alter:
  52. path: '/theme-test/suggestion-alter'
  53. defaults:
  54. _controller: '\Drupal\theme_test\ThemeTestController::suggestionAlter'
  55. requirements:
  56. _access: 'TRUE'
  57. theme_test.general_suggestion_alter:
  58. path: '/theme-test/general-suggestion-alter'
  59. defaults:
  60. _controller: '\Drupal\theme_test\ThemeTestController::generalSuggestionAlter'
  61. requirements:
  62. _access: 'TRUE'
  63. suggestion_provided:
  64. path: '/theme-test/suggestion-provided'
  65. defaults:
  66. _controller: '\Drupal\theme_test\ThemeTestController::suggestionProvided'
  67. requirements:
  68. _access: 'TRUE'
  69. specific_suggestion_alter:
  70. path: '/theme-test/specific-suggestion-alter'
  71. defaults:
  72. _controller: '\Drupal\theme_test\ThemeTestController::specificSuggestionAlter'
  73. requirements:
  74. _access: 'TRUE'
  75. function_suggestion_alter:
  76. path: '/theme-test/function-suggestion-alter'
  77. defaults:
  78. _controller: '\Drupal\theme_test\ThemeTestController::functionSuggestionAlter'
  79. requirements:
  80. _access: 'TRUE'
  81. suggestion_alter_include:
  82. path: '/theme-test/suggestion-alter-include'
  83. defaults:
  84. _controller: '\Drupal\theme_test\ThemeTestController::suggestionAlterInclude'
  85. requirements:
  86. _access: 'TRUE'
  87. theme_test.non_html:
  88. path: '/theme-test/non-html'
  89. defaults:
  90. _controller: '\Drupal\theme_test\ThemeTestController::nonHtml'
  91. requirements:
  92. _access: 'TRUE'
  93. theme_test.preprocess_suggestions:
  94. path: '/theme-test/preprocess-suggestions'
  95. defaults:
  96. _controller: '\Drupal\theme_test\ThemeTestController::preprocessSuggestions'
  97. requirements:
  98. _access: 'TRUE'