This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/web/core/modules/update/update.services.yml
2017-02-13 15:31:17 +00:00

25 lines
950 B
YAML

services:
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']
update.processor:
class: Drupal\update\UpdateProcessor
arguments: ['@config.factory', '@queue', '@update.fetcher', '@state', '@private_key', '@keyvalue', '@keyvalue.expirable']
update.fetcher:
class: Drupal\update\UpdateFetcher
arguments: ['@config.factory', '@http_client']
update.root:
class: SplString
factory: update.root.factory:get
tags:
- { name: parameter_service }
update.root.factory:
class: Drupal\update\UpdateRootFactory
arguments: ['@kernel', '@request_stack']
public: false