function RsyncValidator::getSubscribedEvents

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/Validator/RsyncValidator.php \Drupal\package_manager\Validator\RsyncValidator::getSubscribedEvents()

File

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

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.