function PhpExtensionsValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/PhpExtensionsValidator.php, line 97

Class

PhpExtensionsValidator
Performs validation if certain PHP extensions are enabled.

Namespace

Drupal\package_manager\Validator

Code

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

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