function PhpTufValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/PhpTufValidator.php, line 65

Class

PhpTufValidator
Validates that PHP-TUF is installed and correctly configured.

Namespace

Drupal\package_manager\Validator

Code

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

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