theme_test.services.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ theme_test/ theme_test.services.yml
View source
- services:
- theme_test.subscriber:
- class: Drupal\theme_test\EventSubscriber\ThemeTestSubscriber
- arguments: ['@current_route_match', '@renderer']
- tags:
- - { name: event_subscriber }
-
- theme.negotiator.test_custom_theme:
- class: Drupal\theme_test\Theme\CustomThemeNegotiator
- tags:
- - { name: theme_negotiator }
-
- theme.negotiator.high_priority:
- class: Drupal\theme_test\Theme\HighPriorityThemeNegotiator
- tags:
- - { name: theme_negotiator, priority: 1000 }
Services
Title | Deprecated | Summary |
---|---|---|
theme.negotiator.high_priority | Drupal\theme_test\Theme\HighPriorityThemeNegotiator | |
theme.negotiator.test_custom_theme | Drupal\theme_test\Theme\CustomThemeNegotiator | |
theme_test.subscriber | Drupal\theme_test\EventSubscriber\ThemeTestSubscriber |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.