You are here

context.services.yml in Context 8.4

Same filename and directory in other branches
  1. 8 context.services.yml
  2. 8.0 context.services.yml

File

context.services.yml
View source
  1. services:
  2. context.manager:
  3. class: Drupal\context\ContextManager
  4. arguments: ['@entity_type.manager', '@context.repository', '@context.handler', '@entity.form_builder', '@theme.manager', '@current_route_match']
  5. plugin.manager.context_reaction:
  6. class: Drupal\context\ContextReactionManager
  7. parent: default_plugin_manager
  8. context.block_page_display_variant_subscriber:
  9. class: Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber
  10. arguments: ['@context.manager']
  11. tags:
  12. - { name: event_subscriber }
  13. theme.negotiator.context_themeswitcher:
  14. class: Drupal\context\Theme\ThemeSwitcherNegotiator
  15. arguments: ['@context.manager']
  16. tags:
  17. - { name: theme_negotiator, priority: 1000 }