update.services.yml

core/modules/update/update.services.yml

File

core/modules/update/update.services.yml

View source
  1. parameters:
  2. update.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. access_check.update.manager_access:
  7. class: Drupal\update\Access\UpdateManagerAccessCheck
  8. arguments: ['@settings']
  9. tags:
  10. - { name: access_check, applies_to: _access_update_manager }
  11. update.manager:
  12. class: Drupal\update\UpdateManager
  13. arguments: ['@config.factory', '@module_handler', '@update.processor', '@string_translation', '@keyvalue.expirable', '@theme_handler', '@extension.list.module', '@extension.list.theme']
  14. Drupal\update\UpdateManagerInterface: '@update.manager'
  15. update.processor:
  16. class: Drupal\update\UpdateProcessor
  17. arguments: ['@config.factory', '@queue', '@update.fetcher', '@state', '@private_key', '@keyvalue', '@keyvalue.expirable', '@datetime.time']
  18. Drupal\update\UpdateProcessorInterface: '@update.processor'
  19. update.fetcher:
  20. class: Drupal\update\UpdateFetcher
  21. arguments: ['@config.factory', '@http_client', '@settings', '@logger.channel.update']
  22. Drupal\update\UpdateFetcherInterface: '@update.fetcher'
  23. update.root:
  24. class: Drupal\update\UpdateRoot
  25. arguments: ['@kernel', '@request_stack']
  26. deprecated: The "%service_id%" service is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3522119
  27. logger.channel.update:
  28. parent: logger.channel_base
  29. arguments: [ 'update' ]

Services

Title Deprecated Summary
access_check.update.manager_access Drupal\update\Access\UpdateManagerAccessCheck
logger.channel.update
update.fetcher Drupal\update\UpdateFetcher
update.manager Drupal\update\UpdateManager
update.processor Drupal\update\UpdateProcessor
update.root Drupal\update\UpdateRoot
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.