function PackageManagerUninstallValidator::__construct

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/PackageManagerUninstallValidator.php \Drupal\package_manager\PackageManagerUninstallValidator::__construct()

File

core/modules/package_manager/src/PackageManagerUninstallValidator.php, line 30

Class

PackageManagerUninstallValidator
Prevents any module from being uninstalled if update is in process.

Namespace

Drupal\package_manager

Code

public function __construct(private readonly PathLocator $pathLocator, private readonly BeginnerInterface $beginner, private readonly StagerInterface $stager, private readonly CommitterInterface $committer, private readonly QueueFactory $queueFactory, private readonly EventDispatcherInterface $eventDispatcher, private readonly SharedTempStoreFactory $sharedTempStoreFactory, private readonly TimeInterface $time, private readonly PathFactoryInterface $pathFactory, private readonly FailureMarker $failureMarker) {
}

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