function RsyncValidator::getSubscribedEvents

File

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

Class

RsyncValidator
Checks that rsync is available.

Namespace

Drupal\package_manager\Validator

Code

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

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