function RecipeRunner::isApplying

Determines whether a recipe is currently being applied.

Return value

bool TRUE if a recipe is currently being applied, FALSE if not.

8 calls to RecipeRunner::isApplying()
ConfigInstaller::createConfiguration in core/lib/Drupal/Core/Config/ConfigInstaller.php
Creates configuration in a collection based on the provided list.
RecipeIsApplyingTestHooks::entityTestInsert in core/modules/system/tests/modules/recipe_is_applying_test/src/Hook/RecipeIsApplyingTestHooks.php
Implements hook_ENTITY_TYPE_insert() for entity_test entities.
RecipeIsApplyingTestHooks::modulesInstalled in core/modules/system/tests/modules/recipe_is_applying_test/src/Hook/RecipeIsApplyingTestHooks.php
Implements hook_modules_installed().
RecipeIsApplyingTestHooks::themesInstalled in core/modules/system/tests/modules/recipe_is_applying_test/src/Hook/RecipeIsApplyingTestHooks.php
Implements hook_themes_installed().
RecipeIsApplyingTestSubscriber::onConfigSave in core/modules/system/tests/modules/recipe_is_applying_test/src/EventSubscriber/RecipeIsApplyingTestSubscriber.php
Records the isApplying flag when the recipe's configuration is saved.

... See full list

File

core/lib/Drupal/Core/Recipe/RecipeRunner.php, line 45

Class

RecipeRunner
Applies a recipe.

Namespace

Drupal\Core\Recipe

Code

public static function isApplying() : bool {
  return static::$isApplying;
}

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