function PendingUpdatesValidator::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/PendingUpdatesValidator.php \Drupal\package_manager\Validator\PendingUpdatesValidator::getSubscribedEvents()
File
-
core/
modules/ package_manager/ src/ Validator/ PendingUpdatesValidator.php, line 66
Class
- PendingUpdatesValidator
- Validates that there are no pending database updates.
Namespace
Drupal\package_manager\ValidatorCode
public static function getSubscribedEvents() : array {
return [
PreCreateEvent::class => 'validate',
StatusCheckEvent::class => 'validate',
PreApplyEvent::class => 'validate',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.