You are here

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