function AllowedScaffoldPackagesValidator::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php \Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator::getSubscribedEvents()
File
-
core/
modules/ package_manager/ src/ Validator/ AllowedScaffoldPackagesValidator.php, line 65
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.