config_translation.services.yml 1 KB
Newer Older
1 2 3 4 5 6 7 8 9
services:
  config_translation.route_subscriber:
    class: Drupal\config_translation\Routing\RouteSubscriber
    arguments: ['@plugin.manager.config_translation.mapper']
    tags:
      - { name: event_subscriber }

  config_translation.access.overview:
    class: Drupal\config_translation\Access\ConfigTranslationOverviewAccess
10
    arguments: ['@plugin.manager.config_translation.mapper', '@language_manager']
11
    tags:
12
      - { name: access_check, applies_to: _config_translation_overview_access }
13 14 15

  config_translation.access.form:
    class: Drupal\config_translation\Access\ConfigTranslationFormAccess
16
    arguments: ['@plugin.manager.config_translation.mapper', '@language_manager']
17
    tags:
18
      - { name: access_check, applies_to: _config_translation_form_access }
19 20 21 22

  plugin.manager.config_translation.mapper:
    class: Drupal\config_translation\ConfigMapperManager
    arguments:
23
      - '@cache.discovery'
24 25 26
      - '@language_manager'
      - '@module_handler'
      - '@config.typed'
27
      - '@theme_handler'