update.services.yml 976 B

123456789101112131415161718192021222324
  1. services:
  2. access_check.update.manager_access:
  3. class: Drupal\update\Access\UpdateManagerAccessCheck
  4. arguments: ['@settings']
  5. tags:
  6. - { name: access_check, applies_to: _access_update_manager }
  7. update.manager:
  8. class: Drupal\update\UpdateManager
  9. arguments: ['@config.factory', '@module_handler', '@update.processor', '@string_translation', '@keyvalue.expirable', '@theme_handler', '@extension.list.module']
  10. update.processor:
  11. class: Drupal\update\UpdateProcessor
  12. arguments: ['@config.factory', '@queue', '@update.fetcher', '@state', '@private_key', '@keyvalue', '@keyvalue.expirable']
  13. update.fetcher:
  14. class: Drupal\update\UpdateFetcher
  15. arguments: ['@config.factory', '@http_client']
  16. update.root:
  17. class: SplString
  18. factory: update.root.factory:get
  19. tags:
  20. - { name: parameter_service }
  21. update.root.factory:
  22. class: Drupal\update\UpdateRootFactory
  23. arguments: ['@kernel', '@request_stack']
  24. public: false