function RecipeRunner::tryToSetIsApplying
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Recipe/RecipeRunner.php \Drupal\Core\Recipe\RecipeRunner::tryToSetIsApplying()
Tries to set the isApplying flag to TRUE.
Return value
bool TRUE if this call set the flag, FALSE if it was already set.
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php, line 437
Class
- RecipeRunner
- Applies a recipe.
Namespace
Drupal\Core\RecipeCode
private static function tryToSetIsApplying() : bool {
if (!static::$isApplying) {
static::$isApplying = TRUE;
return TRUE;
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.