context.services.yml 691 B

12345678910111213141516
  1. services:
  2. context.manager:
  3. class: Drupal\context\ContextManager
  4. arguments: ['@entity.query', '@entity.manager', '@context.repository', '@context.handler', '@entity.form_builder', '@theme.manager']
  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. tags:
  16. - { name: theme_negotiator, priority: 1000 }