function 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\Validator

Code

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.