function BaseRequirementsFulfilledValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/BaseRequirementsFulfilledValidator.php, line 62

Class

BaseRequirementsFulfilledValidator
Validates that base requirements do not have any errors.

Namespace

Drupal\package_manager\Validator

Code

public static function getSubscribedEvents() : array {
    return [
        PreCreateEvent::class => [
            'validate',
            self::PRIORITY,
        ],
        PreRequireEvent::class => [
            'validate',
            self::PRIORITY,
        ],
        PreApplyEvent::class => [
            'validate',
            self::PRIORITY,
        ],
        StatusCheckEvent::class => [
            'validate',
            self::PRIORITY,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.