system.services.yml 1.93 KB
Newer Older
1 2 3 4
services:
  access_check.cron:
    class: Drupal\system\Access\CronAccessCheck
    tags:
5
      - { name: access_check, applies_to: _access_system_cron }
6 7 8 9
  access_check.db_update:
    class: Drupal\system\Access\DbUpdateAccessCheck
    tags:
      - { name: access_check, applies_to: _access_system_update }
10 11
  system.manager:
    class: Drupal\system\SystemManager
12
    arguments: ['@module_handler', null, '@request_stack', '@menu.link_tree', '@menu.active_trail']
13 14
  system.breadcrumb.default:
    class: Drupal\system\PathBasedBreadcrumbBuilder
15
    arguments: ['@router.request_context', '@access_manager', '@router', '@path_processor_manager', '@config.factory',  '@title_resolver', '@current_user', '@path.current', '@path.matcher']
16 17
    tags:
      - { name: breadcrumb_builder, priority: 0 }
18 19 20 21
  path_processor.files:
    class: Drupal\system\PathProcessor\PathProcessorFiles
    tags:
      - { name: path_processor_inbound, priority: 200 }
22 23 24 25
  system.admin_path.route_subscriber:
    class: Drupal\system\EventSubscriber\AdminRouteSubscriber
    tags:
      - { name: event_subscriber }
26 27
  theme.negotiator.system.batch:
    class: Drupal\system\Theme\BatchNegotiator
28
    arguments: ['@batch.storage', '@request_stack']
29 30
    tags:
      - { name: theme_negotiator, priority: 1000 }
31 32 33 34 35
  theme.negotiator.system.db_update:
    class: Drupal\system\Theme\DbUpdateNegotiator
    arguments: ['@config.factory']
    tags:
      - { name: theme_negotiator, priority: 100 }
36 37
  system.config_subscriber:
    class: Drupal\system\SystemConfigSubscriber
38
    arguments: ['@router.builder']
39 40
    tags:
      - { name: event_subscriber }
41 42
  system.config_cache_tag:
    class: Drupal\system\EventSubscriber\ConfigCacheTag
43 44 45
    arguments: ['@theme_handler', '@cache_tags.invalidator']
    tags:
      - { name: event_subscriber }
46 47 48 49 50
  system.timezone_resolver:
    class: Drupal\system\TimeZoneResolver
    arguments: ['@current_user', '@config.factory']
    tags:
      - { name: event_subscriber }