theme_test.routing.yml
Same filename in other branches
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
- theme_test.template_test:
- path: '/theme-test/template-test'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testTemplate'
- requirements:
- _access: 'TRUE'
-
- theme_test.inline_template_test:
- path: '/theme-test/inline-template-test'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testInlineTemplate'
- requirements:
- _access: 'TRUE'
-
- theme_test.suggestion:
- path: '/theme-test/suggestion'
- options:
- _custom_theme: 'test_theme'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
- _title: 'Suggestion'
- requirements:
- _access: 'TRUE'
-
- theme_test.priority:
- path: '/theme-test/priority'
- options:
- _custom_theme: 'test_theme'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testSuggestion'
- _title: 'Suggestion'
- requirements:
- _access: 'TRUE'
-
- theme_test.request_listener:
- path: '/theme-test/request-listener'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testRequestListener'
- requirements:
- _access: 'TRUE'
-
- suggestion_alter:
- path: '/theme-test/suggestion-alter'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::suggestionAlter'
- requirements:
- _access: 'TRUE'
-
- theme_test.general_suggestion_alter:
- path: '/theme-test/general-suggestion-alter'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::generalSuggestionAlter'
- requirements:
- _access: 'TRUE'
-
- suggestion_provided:
- path: '/theme-test/suggestion-provided'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::suggestionProvided'
- requirements:
- _access: 'TRUE'
-
- specific_suggestion_alter:
- path: '/theme-test/specific-suggestion-alter'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::specificSuggestionAlter'
- requirements:
- _access: 'TRUE'
-
- theme_test.non_html:
- path: '/theme-test/non-html'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::nonHtml'
- requirements:
- _access: 'TRUE'
-
- theme_test.preprocess_suggestions:
- path: '/theme-test/preprocess-suggestions'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::preprocessSuggestions'
- requirements:
- _access: 'TRUE'
-
- theme_test.preprocess_callback:
- path: '/theme-test/preprocess-callback'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::preprocessCallback'
- requirements:
- _access: 'TRUE'
-
- theme_test.test_theme_class:
- path: '/theme-test/test-theme-class'
- defaults:
- _controller: '\Drupal\theme_test\ThemeTestController::testThemeClass'
- requirements:
- _access: 'TRUE'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.