function OverwriteExistingPackagesValidator::getSubscribedEvents
File
-
core/
modules/ package_manager/ src/ Validator/ OverwriteExistingPackagesValidator.php, line 74
Class
- OverwriteExistingPackagesValidator
- Validates that newly installed packages don't overwrite existing directories.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
return [
PreApplyEvent::class => 'validate',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.