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.
5 calls to RecipeRunner::tryToSetIsApplying()
- RecipeRunner::installConfig in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php - Installs a config for a recipe.
- RecipeRunner::installContent in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php - Installs a content for a recipe.
- RecipeRunner::installModules in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php - Installs modules for a recipe.
- RecipeRunner::installTheme in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php - Installs a theme for a recipe.
- RecipeRunner::processRecipe in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php
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.