You are here

public static function UpdateVersionValidator::getSubscribedEvents in Automatic Updates 8.2

File

src/Validator/UpdateVersionValidator.php, line 91

Class

UpdateVersionValidator
Validates that core updates are within a supported version range.

Namespace

Drupal\automatic_updates\Validator

Code

public static function getSubscribedEvents() {
  return [
    AutomaticUpdatesEvents::PRE_START => 'checkUpdateVersion',
    AutomaticUpdatesEvents::READINESS_CHECK => 'checkReadinessUpdateVersion',
  ];
}