function SandboxDatabaseUpdatesValidator::getSubscribedEvents

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

File

core/modules/package_manager/src/Validator/SandboxDatabaseUpdatesValidator.php, line 176

Class

SandboxDatabaseUpdatesValidator
Flags a warning if there are database updates in a staged update.

Namespace

Drupal\package_manager\Validator

Code

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

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