function ExtensionAvailableConstraintValidator::__construct
Parameters
\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.
\Drupal\Core\Extension\ThemeExtensionList $themeExtensionList: The theme extension list.
\Drupal\Core\Extension\ProfileExtensionList $profileExtensionList: The profile extension list.
string $appRoot: The app root.
string|false|null $installProfile: The install profile used by the environment.
string $sitePath: The site path.
File
-
core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionAvailableConstraintValidator.php, line 52
Class
- ExtensionAvailableConstraintValidator
- Validates that a given extension exists.
Namespace
Drupal\Core\Extension\Plugin\Validation\ConstraintCode
public function __construct(protected ModuleExtensionList $moduleExtensionList, protected ThemeExtensionList $themeExtensionList, protected ProfileExtensionList $profileExtensionList, protected string $appRoot, protected $installProfile, protected string $sitePath) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.