package_manager.services.yml

core/modules/package_manager/package_manager.services.yml

File

core/modules/package_manager/package_manager.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. autowire: true
  5. # Underlying Symfony utilities for Composer Stager.
  6. Symfony\Component\Filesystem\Filesystem:
  7. public: false
  8. Symfony\Component\Process\ExecutableFinder:
  9. public: false
  10. # Basic infrastructure services for Composer Stager, overridden by us to
  11. # provide additional functionality.
  12. Drupal\package_manager\ExecutableFinder:
  13. public: false
  14. decorates: 'PhpTuf\ComposerStager\API\Finder\Service\ExecutableFinderInterface'
  15. Drupal\package_manager\ProcessFactory:
  16. public: false
  17. decorates: 'PhpTuf\ComposerStager\API\Process\Factory\ProcessFactoryInterface'
  18. Drupal\package_manager\TranslatableStringFactory:
  19. public: false
  20. decorates: 'PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface'
  21. Drupal\package_manager\LoggingBeginner:
  22. public: false
  23. decorates: 'PhpTuf\ComposerStager\API\Core\BeginnerInterface'
  24. Drupal\package_manager\LoggingStager:
  25. public: false
  26. decorates: 'PhpTuf\ComposerStager\API\Core\StagerInterface'
  27. Drupal\package_manager\LoggingCommitter:
  28. public: false
  29. decorates: 'PhpTuf\ComposerStager\API\Core\CommitterInterface'
  30. logger.channel.package_manager:
  31. parent: logger.channel_base
  32. arguments:
  33. - 'package_manager'
  34. logger.channel.package_manager_change_log:
  35. parent: logger.channel_base
  36. arguments:
  37. - 'package_manager_change_log'
  38. # Services provided to Drupal by Package Manager.
  39. Drupal\package_manager\PathLocator:
  40. arguments:
  41. $appRoot: '%app.root%'
  42. Drupal\package_manager\FailureMarker: {}
  43. Drupal\package_manager\EventSubscriber\UpdateDataSubscriber: {}
  44. Drupal\package_manager\EventSubscriber\ChangeLogger:
  45. calls:
  46. - [setLogger, ['@logger.channel.package_manager_change_log']]
  47. Drupal\package_manager\ComposerInspector: {}
  48. # Validators.
  49. Drupal\package_manager\Validator\EnvironmentSupportValidator: {}
  50. Drupal\package_manager\Validator\ComposerValidator: {}
  51. Drupal\package_manager\Validator\DiskSpaceValidator: {}
  52. Drupal\package_manager\Validator\PendingUpdatesValidator:
  53. arguments:
  54. - '%app.root%'
  55. - '@update.post_update_registry'
  56. autowire: false
  57. Drupal\package_manager\Validator\LockFileValidator:
  58. arguments:
  59. $keyValueFactory: '@keyvalue'
  60. Drupal\package_manager\Validator\WritableFileSystemValidator: {}
  61. Drupal\package_manager\Validator\ComposerMinimumStabilityValidator: {}
  62. Drupal\package_manager\Validator\MultisiteValidator: {}
  63. Drupal\package_manager\Validator\SymlinkValidator: {}
  64. Drupal\package_manager\Validator\DuplicateInfoFileValidator: {}
  65. Drupal\package_manager\Validator\EnabledExtensionsValidator: {}
  66. Drupal\package_manager\Validator\OverwriteExistingPackagesValidator: {}
  67. Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator: {}
  68. Drupal\package_manager\Validator\StagedDBUpdateValidator: {}
  69. Drupal\package_manager\PathExcluder\TestSiteExcluder: {}
  70. Drupal\package_manager\PathExcluder\VendorHardeningExcluder: {}
  71. Drupal\package_manager\PathExcluder\SiteFilesExcluder:
  72. arguments:
  73. $wrappers: [public, private, assets]
  74. Drupal\package_manager\PathExcluder\SqliteDatabaseExcluder: {}
  75. Drupal\package_manager\PathExcluder\GitExcluder: {}
  76. Drupal\package_manager\PathExcluder\UnknownPathExcluder: {}
  77. Drupal\package_manager\PathExcluder\SiteConfigurationExcluder:
  78. arguments:
  79. $sitePath: '%site.path%'
  80. Drupal\package_manager\PathExcluder\NodeModulesExcluder: {}
  81. Drupal\package_manager\PackageManagerUninstallValidator:
  82. arguments:
  83. $eventDispatcher: '@event_dispatcher'
  84. Drupal\package_manager\Validator\SettingsValidator: {}
  85. Drupal\package_manager\Validator\RsyncValidator: {}
  86. Drupal\package_manager\Validator\ComposerPluginsValidator: {}
  87. Drupal\package_manager\Validator\ComposerPatchesValidator: {}
  88. Drupal\package_manager\Validator\BaseRequirementsFulfilledValidator: {}
  89. Drupal\package_manager\Validator\SupportedReleaseValidator: {}
  90. Drupal\package_manager\Validator\StageNotInActiveValidator: {}
  91. Drupal\package_manager\Validator\PhpExtensionsValidator: {}
  92. Drupal\package_manager\Validator\PhpTufValidator:
  93. arguments:
  94. $repositories:
  95. - 'https://packages.drupal.org/8'
  96. Drupal\package_manager\PackageManagerUpdateProcessor:
  97. arguments:
  98. # @todo Autowire $update_fetcher when https://drupal.org/i/3325557 lands.
  99. $update_fetcher: '@update.fetcher'
  100. $key_value_factory: '@keyvalue'
  101. $key_value_expirable_factory: '@keyvalue.expirable'
  102. # Services from php-tuf/composer-stager package.
  103. PhpTuf\ComposerStager\API\Core\BeginnerInterface:
  104. class: PhpTuf\ComposerStager\Internal\Core\Beginner
  105. PhpTuf\ComposerStager\API\Core\CleanerInterface:
  106. class: PhpTuf\ComposerStager\Internal\Core\Cleaner
  107. PhpTuf\ComposerStager\API\Core\CommitterInterface:
  108. class: PhpTuf\ComposerStager\Internal\Core\Committer
  109. PhpTuf\ComposerStager\API\Core\StagerInterface:
  110. class: PhpTuf\ComposerStager\Internal\Core\Stager
  111. PhpTuf\ComposerStager\API\Environment\Service\EnvironmentInterface:
  112. class: PhpTuf\ComposerStager\Internal\Environment\Service\Environment
  113. PhpTuf\ComposerStager\API\FileSyncer\Service\FileSyncerInterface:
  114. class: PhpTuf\ComposerStager\Internal\FileSyncer\Service\FileSyncer
  115. PhpTuf\ComposerStager\API\Filesystem\Service\FilesystemInterface:
  116. class: PhpTuf\ComposerStager\Internal\Filesystem\Service\Filesystem
  117. PhpTuf\ComposerStager\API\Finder\Service\ExecutableFinderInterface:
  118. class: PhpTuf\ComposerStager\Internal\Finder\Service\ExecutableFinder
  119. PhpTuf\ComposerStager\API\Finder\Service\FileFinderInterface:
  120. class: PhpTuf\ComposerStager\Internal\Finder\Service\FileFinder
  121. PhpTuf\ComposerStager\API\Path\Factory\PathFactoryInterface:
  122. class: PhpTuf\ComposerStager\Internal\Path\Factory\PathFactory
  123. PhpTuf\ComposerStager\API\Path\Factory\PathListFactoryInterface:
  124. class: PhpTuf\ComposerStager\Internal\Path\Factory\PathListFactory
  125. PhpTuf\ComposerStager\API\Precondition\Service\ActiveAndStagingDirsAreDifferentInterface:
  126. class: PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveAndStagingDirsAreDifferent
  127. PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirExistsInterface:
  128. class: PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirExists
  129. PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirIsReadyInterface:
  130. class: PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirIsReady
  131. PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirIsWritableInterface:
  132. class: PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirIsWritable
  133. PhpTuf\ComposerStager\API\Precondition\Service\BeginnerPreconditionsInterface:
  134. class: PhpTuf\ComposerStager\Internal\Precondition\Service\BeginnerPreconditions
  135. PhpTuf\ComposerStager\API\Precondition\Service\CleanerPreconditionsInterface:
  136. class: PhpTuf\ComposerStager\Internal\Precondition\Service\CleanerPreconditions
  137. PhpTuf\ComposerStager\API\Precondition\Service\CommitterPreconditionsInterface:
  138. class: PhpTuf\ComposerStager\Internal\Precondition\Service\CommitterPreconditions
  139. PhpTuf\ComposerStager\API\Precondition\Service\CommonPreconditionsInterface:
  140. class: PhpTuf\ComposerStager\Internal\Precondition\Service\CommonPreconditions
  141. PhpTuf\ComposerStager\API\Precondition\Service\ComposerIsAvailableInterface:
  142. class: PhpTuf\ComposerStager\Internal\Precondition\Service\ComposerIsAvailable
  143. PhpTuf\ComposerStager\API\Precondition\Service\HostSupportsRunningProcessesInterface:
  144. class: PhpTuf\ComposerStager\Internal\Precondition\Service\HostSupportsRunningProcesses
  145. PhpTuf\ComposerStager\API\Precondition\Service\NoAbsoluteSymlinksExistInterface:
  146. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoAbsoluteSymlinksExist
  147. PhpTuf\ComposerStager\API\Precondition\Service\NoHardLinksExistInterface:
  148. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoHardLinksExist
  149. PhpTuf\ComposerStager\API\Precondition\Service\NoLinksExistOnWindowsInterface:
  150. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoLinksExistOnWindows
  151. PhpTuf\ComposerStager\API\Precondition\Service\NoNestingOnWindowsInterface:
  152. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoNestingOnWindows
  153. PhpTuf\ComposerStager\API\Precondition\Service\NoSymlinksPointOutsideTheCodebaseInterface:
  154. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoSymlinksPointOutsideTheCodebase
  155. PhpTuf\ComposerStager\API\Precondition\Service\NoUnsupportedLinksExistInterface:
  156. class: PhpTuf\ComposerStager\Internal\Precondition\Service\NoUnsupportedLinksExist
  157. PhpTuf\ComposerStager\API\Precondition\Service\RsyncIsAvailableInterface:
  158. class: PhpTuf\ComposerStager\Internal\Precondition\Service\RsyncIsAvailable
  159. PhpTuf\ComposerStager\API\Precondition\Service\StagerPreconditionsInterface:
  160. class: PhpTuf\ComposerStager\Internal\Precondition\Service\StagerPreconditions
  161. PhpTuf\ComposerStager\API\Precondition\Service\StagingDirDoesNotExistInterface:
  162. class: PhpTuf\ComposerStager\Internal\Precondition\Service\StagingDirDoesNotExist
  163. PhpTuf\ComposerStager\API\Precondition\Service\StagingDirExistsInterface:
  164. class: PhpTuf\ComposerStager\Internal\Precondition\Service\StagingDirExists
  165. PhpTuf\ComposerStager\API\Precondition\Service\StagingDirIsReadyInterface:
  166. class: PhpTuf\ComposerStager\Internal\Precondition\Service\StagingDirIsReady
  167. PhpTuf\ComposerStager\API\Precondition\Service\StagingDirIsWritableInterface:
  168. class: PhpTuf\ComposerStager\Internal\Precondition\Service\StagingDirIsWritable
  169. PhpTuf\ComposerStager\API\Process\Factory\ProcessFactoryInterface:
  170. class: PhpTuf\ComposerStager\Internal\Process\Factory\ProcessFactory
  171. PhpTuf\ComposerStager\API\Process\Service\ComposerProcessRunnerInterface:
  172. class: PhpTuf\ComposerStager\Internal\Process\Service\ComposerProcessRunner
  173. PhpTuf\ComposerStager\API\Process\Service\OutputCallbackInterface:
  174. class: PhpTuf\ComposerStager\Internal\Process\Service\OutputCallback
  175. PhpTuf\ComposerStager\API\Process\Service\ProcessInterface:
  176. class: PhpTuf\ComposerStager\Internal\Process\Service\Process
  177. PhpTuf\ComposerStager\API\Process\Service\RsyncProcessRunnerInterface:
  178. class: PhpTuf\ComposerStager\Internal\Process\Service\RsyncProcessRunner
  179. PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface:
  180. class: PhpTuf\ComposerStager\Internal\Translation\Factory\TranslatableFactory
  181. PhpTuf\ComposerStager\API\Translation\Service\DomainOptionsInterface:
  182. class: PhpTuf\ComposerStager\Internal\Translation\Service\DomainOptions
  183. PhpTuf\ComposerStager\API\Translation\Service\LocaleOptionsInterface:
  184. class: PhpTuf\ComposerStager\Internal\Translation\Service\LocaleOptions
  185. PhpTuf\ComposerStager\API\Translation\Service\TranslatorInterface:
  186. class: PhpTuf\ComposerStager\Internal\Translation\Service\Translator
  187. PhpTuf\ComposerStager\Internal\Path\Service\PathHelperInterface:
  188. class: PhpTuf\ComposerStager\Internal\Path\Service\PathHelper
  189. public: false
  190. PhpTuf\ComposerStager\Internal\Process\Factory\SymfonyProcessFactoryInterface:
  191. class: PhpTuf\ComposerStager\Internal\Process\Factory\SymfonyProcessFactory
  192. public: false
  193. PhpTuf\ComposerStager\Internal\Process\Service\OutputCallbackAdapterInterface:
  194. class: PhpTuf\ComposerStager\Internal\Process\Service\OutputCallbackAdapter
  195. public: false
  196. PhpTuf\ComposerStager\Internal\Translation\Service\SymfonyTranslatorProxyInterface:
  197. class: PhpTuf\ComposerStager\Internal\Translation\Service\SymfonyTranslatorProxy
  198. public: false

Services

Title Deprecated Summary
Drupal\package_manager\ComposerInspector
Drupal\package_manager\EventSubscriber\ChangeLogger
Drupal\package_manager\EventSubscriber\UpdateDataSubscriber
Drupal\package_manager\ExecutableFinder
Drupal\package_manager\FailureMarker
Drupal\package_manager\LoggingBeginner
Drupal\package_manager\LoggingCommitter
Drupal\package_manager\LoggingStager
Drupal\package_manager\PackageManagerUninstallValidator
Drupal\package_manager\PackageManagerUpdateProcessor
Drupal\package_manager\PathExcluder\GitExcluder
Drupal\package_manager\PathExcluder\NodeModulesExcluder
Drupal\package_manager\PathExcluder\SiteConfigurationExcluder
Drupal\package_manager\PathExcluder\SiteFilesExcluder
Drupal\package_manager\PathExcluder\SqliteDatabaseExcluder
Drupal\package_manager\PathExcluder\TestSiteExcluder
Drupal\package_manager\PathExcluder\UnknownPathExcluder
Drupal\package_manager\PathExcluder\VendorHardeningExcluder
Drupal\package_manager\PathLocator
Drupal\package_manager\ProcessFactory
Drupal\package_manager\TranslatableStringFactory
Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator
Drupal\package_manager\Validator\BaseRequirementsFulfilledValidator
Drupal\package_manager\Validator\ComposerMinimumStabilityValidator
Drupal\package_manager\Validator\ComposerPatchesValidator
Drupal\package_manager\Validator\ComposerPluginsValidator
Drupal\package_manager\Validator\ComposerValidator
Drupal\package_manager\Validator\DiskSpaceValidator
Drupal\package_manager\Validator\DuplicateInfoFileValidator
Drupal\package_manager\Validator\EnabledExtensionsValidator
Drupal\package_manager\Validator\EnvironmentSupportValidator
Drupal\package_manager\Validator\LockFileValidator
Drupal\package_manager\Validator\MultisiteValidator
Drupal\package_manager\Validator\OverwriteExistingPackagesValidator
Drupal\package_manager\Validator\PendingUpdatesValidator
Drupal\package_manager\Validator\PhpExtensionsValidator
Drupal\package_manager\Validator\PhpTufValidator
Drupal\package_manager\Validator\RsyncValidator
Drupal\package_manager\Validator\SettingsValidator
Drupal\package_manager\Validator\StagedDBUpdateValidator
Drupal\package_manager\Validator\StageNotInActiveValidator
Drupal\package_manager\Validator\SupportedReleaseValidator
Drupal\package_manager\Validator\SymlinkValidator
Drupal\package_manager\Validator\WritableFileSystemValidator
logger.channel.package_manager
logger.channel.package_manager_change_log
PhpTuf\ComposerStager\API\Core\BeginnerInterface PhpTuf\ComposerStager\Internal\Core\Beginner
PhpTuf\ComposerStager\API\Core\CleanerInterface PhpTuf\ComposerStager\Internal\Core\Cleaner
PhpTuf\ComposerStager\API\Core\CommitterInterface PhpTuf\ComposerStager\Internal\Core\Committer
PhpTuf\ComposerStager\API\Core\StagerInterface PhpTuf\ComposerStager\Internal\Core\Stager

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