function automatic_updates_modules_uninstalled in Automatic Updates 8.2
Implements hook_modules_uninstalled().
File
- ./
automatic_updates.module, line 59 - Contains hook implementations for Automatic Updates.
Code
function automatic_updates_modules_uninstalled() {
// Run the readiness checkers if needed when any modules are uninstalled in
// case they provided readiness checker services.
/** @var \Drupal\automatic_updates\Validation\ReadinessValidationManager $checker_manager */
$checker_manager = \Drupal::service('automatic_updates.readiness_validation_manager');
$checker_manager
->runIfNoStoredResults();
}