You are here

language_cookie.services.yml in Language Cookie 8

File

language_cookie.services.yml
View source
  1. services:
  2. plugin.manager.language_cookie_condition:
  3. class: Drupal\language_cookie\LanguageCookieConditionManager
  4. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  5. language_cookie.language_cookie_subscriber:
  6. class: Drupal\language_cookie\EventSubscriber\LanguageCookieSubscriber
  7. arguments: ['@language_manager', '@config.factory', '@language_negotiator', '@plugin.manager.language_cookie_condition', '@module_handler', '@datetime.time']
  8. tags:
  9. - { name: 'event_subscriber' }