theme_test.services.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/theme_test/theme_test.services.yml
  2. 10 core/modules/system/tests/modules/theme_test/theme_test.services.yml
  3. 11.x core/modules/system/tests/modules/theme_test/theme_test.services.yml
core/modules/system/tests/modules/theme_test/theme_test.services.yml

File

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

View source
  1. services:
  2. theme_test.subscriber:
  3. class: Drupal\theme_test\EventSubscriber\ThemeTestSubscriber
  4. arguments: ['@current_route_match', '@renderer']
  5. tags:
  6. - { name: event_subscriber }
  7. theme.negotiator.test_custom_theme:
  8. class: Drupal\theme_test\Theme\CustomThemeNegotiator
  9. tags:
  10. - { name: theme_negotiator }
  11. theme.negotiator.high_priority:
  12. class: Drupal\theme_test\Theme\HighPriorityThemeNegotiator
  13. tags:
  14. - { 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.