function AllowedScaffoldPackagesValidator::getSubscribedEvents
File
-
core/
modules/ package_manager/ src/ Validator/ AllowedScaffoldPackagesValidator.php, line 64
Class
- AllowedScaffoldPackagesValidator
- Validates the list of packages that are allowed to scaffold files.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
return [
StatusCheckEvent::class => 'validate',
PreCreateEvent::class => 'validate',
PreApplyEvent::class => 'validate',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.