function RecipeRunner::processInstall
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Recipe/RecipeRunner.php \Drupal\Core\Recipe\RecipeRunner::processInstall()
- 10 core/lib/Drupal/Core/Recipe/RecipeRunner.php \Drupal\Core\Recipe\RecipeRunner::processInstall()
Installs the extensions.
Parameters
\Drupal\Core\Recipe\InstallConfigurator $install: The list of extensions to install.
\Drupal\Core\Config\StorageInterface $recipeConfigStorage: The recipe's configuration storage. Used to override extension provided configuration.
1 call to RecipeRunner::processInstall()
- RecipeRunner::processRecipe in core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeRunner.php, line 82
Class
- RecipeRunner
- Applies a recipe.
Namespace
Drupal\Core\RecipeCode
protected static function processInstall(InstallConfigurator $install, StorageInterface $recipeConfigStorage) : void {
if (!empty($install->modules)) {
foreach (array_chunk($install->modules, Settings::get('core.multi_module_install_batch_size', 20)) as $modules_chunk) {
static::installModules($modules_chunk, $recipeConfigStorage);
}
}
// Themes can depend on modules so have to be installed after modules.
foreach ($install->themes as $name) {
static::installTheme($name, $recipeConfigStorage);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.