You are here

disable_language.services.yml in Disable language 8

File

disable_language.services.yml
View source
  1. services:
  2. disable_language.disable_language_manager:
  3. class: Drupal\disable_language\DisableLanguageManager
  4. arguments: ['@language.default', '@config.factory', '@module_handler', '@language.config_factory_override', '@request_stack', '@entity_type.manager', '@language_manager']
  5. disable_language.disabled_languages_event_subscriber:
  6. class: Drupal\disable_language\EventSubscriber\DisabledLanguagesEventSubscriber
  7. arguments : ['@disable_language.disable_language_manager', '@current_user', '@config.factory', '@plugin.manager.condition', '@stream_wrapper_manager']
  8. tags:
  9. - { name: event_subscriber }