ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_MODIFY
Same name and namespace in other branches
- main core/modules/package_manager/src/Validator/ComposerPluginsValidator.php \Drupal\package_manager\Validator\ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_MODIFY
Composer plugins known to modify other packages, but are validated.
The validation guarantees they are safe to use.
Keys are Composer plugin package names, values are version constraints for those plugins that this validator explicitly supports.
File
-
core/
modules/ package_manager/ src/ Validator/ ComposerPluginsValidator.php, line 64
Class
- ComposerPluginsValidator
- Validates the allowed Composer plugins, both in active and stage.
Namespace
Drupal\package_manager\ValidatorCode
private const SUPPORTED_PLUGINS_THAT_DO_MODIFY = [
// @see \Drupal\package_manager\PathExcluder\VendorHardeningExcluder
'drupal/core-vendor-hardening' => '*',
'php-http/discovery' => '*',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.