function SettingsValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/SettingsValidator.php, line 41

Class

SettingsValidator
Checks that Drupal's settings are valid for Package Manager.

Namespace

Drupal\package_manager\Validator

Code

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

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