function ComposerPluginsValidator::getSubscribedEvents
File
-
core/
modules/ package_manager/ src/ Validator/ ComposerPluginsValidator.php, line 219
Class
- ComposerPluginsValidator
- Validates the allowed Composer plugins, both in active and stage.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
return [
PreCreateEvent::class => 'validate',
PreApplyEvent::class => 'validate',
StatusCheckEvent::class => 'validate',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.