function ComposerMinimumStabilityValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php, line 76

Class

ComposerMinimumStabilityValidator
Checks that the packages to install meet the minimum stability.

Namespace

Drupal\package_manager\Validator

Code

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

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