function EnabledExtensionsValidator::getSubscribedEvents

File

core/modules/package_manager/src/Validator/EnabledExtensionsValidator.php, line 70

Class

EnabledExtensionsValidator
Validates no enabled Drupal extensions are removed from the stage directory.

Namespace

Drupal\package_manager\Validator

Code

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

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