function RecipeIsApplyingTestHooks::modulesInstalled

Implements hook_modules_installed().

Attributes

#[Hook('modules_installed')]

File

core/modules/system/tests/modules/recipe_is_applying_test/src/Hook/RecipeIsApplyingTestHooks.php, line 23

Class

RecipeIsApplyingTestHooks
Hook implementations for recipe_is_applying_test.

Namespace

Drupal\recipe_is_applying_test\Hook

Code

public function modulesInstalled(array $modules, bool $is_syncing) : void {
  $this->keyValueFactory
    ->get('recipe_is_applying_test')
    ->set('modules_installed', RecipeRunner::isApplying());
}

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