You are here

function automatic_updates_modules_installed in Automatic Updates 8.2

Implements hook_modules_installed().

File

./automatic_updates.module, line 48
Contains hook implementations for Automatic Updates.

Code

function automatic_updates_modules_installed() {

  // Run the readiness checkers if needed when any modules are installed in
  // case they provide readiness checker services.

  /** @var \Drupal\automatic_updates\Validation\ReadinessValidationManager $checker_manager */
  $checker_manager = \Drupal::service('automatic_updates.readiness_validation_manager');
  $checker_manager
    ->runIfNoStoredResults();
}