function InstallProfileUninstallValidator::__construct

Same name in this branch
  1. 10 core/lib/Drupal/Core/ProxyClass/Extension/InstallProfileUninstallValidator.php \Drupal\Core\ProxyClass\Extension\InstallProfileUninstallValidator::__construct()
Same name in other branches
  1. 11.x core/lib/Drupal/Core/Extension/InstallProfileUninstallValidator.php \Drupal\Core\Extension\InstallProfileUninstallValidator::__construct()

File

core/lib/Drupal/Core/Extension/InstallProfileUninstallValidator.php, line 24

Class

InstallProfileUninstallValidator
Ensures install profile can only be uninstalled if the modules are available.

Namespace

Drupal\Core\Extension

Code

public function __construct(TranslationInterface $string_translation, ModuleExtensionList $moduleExtensionList, ThemeExtensionList $themeExtensionList, string|false|null $installProfile, string $root, string $sitePath) {
    $this->setStringTranslation($string_translation);
}

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