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