update.services.yml
Same filename in other branches
File
-
core/
modules/ update/ update.services.yml
View source
- services:
- _defaults:
- autoconfigure: true
- access_check.update.manager_access:
- class: Drupal\update\Access\UpdateManagerAccessCheck
- arguments: ['@settings']
- tags:
- - { name: access_check, applies_to: _access_update_manager }
- update.manager:
- class: Drupal\update\UpdateManager
- arguments: ['@config.factory', '@module_handler', '@update.processor', '@string_translation', '@keyvalue.expirable', '@theme_handler', '@extension.list.module', '@extension.list.theme']
- Drupal\update\UpdateManagerInterface: '@update.manager'
- update.processor:
- class: Drupal\update\UpdateProcessor
- arguments: ['@config.factory', '@queue', '@update.fetcher', '@state', '@private_key', '@keyvalue', '@keyvalue.expirable', '@datetime.time']
- Drupal\update\UpdateProcessorInterface: '@update.processor'
- update.fetcher:
- class: Drupal\update\UpdateFetcher
- arguments: ['@config.factory', '@http_client', '@settings', '@logger.channel.update']
- Drupal\update\UpdateFetcherInterface: '@update.fetcher'
- update.root:
- class: Drupal\update\UpdateRoot
- arguments: ['@kernel', '@request_stack']
- logger.channel.update:
- parent: logger.channel_base
- arguments: [ 'update' ]
- update.route_subscriber:
- class: Drupal\update\Routing\UpdateRouteSubscriber
- arguments: ['@settings']
Services
Title | Deprecated | Summary |
---|---|---|
access_check.update.manager_access | Drupal\update\Access\UpdateManagerAccessCheck | |
Drupal\update\UpdateFetcherInterface | ||
Drupal\update\UpdateManagerInterface | ||
Drupal\update\UpdateProcessorInterface | ||
logger.channel.update | ||
update.fetcher | Drupal\update\UpdateFetcher | |
update.manager | Drupal\update\UpdateManager | |
update.processor | Drupal\update\UpdateProcessor | |
update.root | Drupal\update\UpdateRoot | |
update.route_subscriber | Drupal\update\Routing\UpdateRouteSubscriber | |
_defaults |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.