Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RecipeRunner.php

function 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 80

Class

RecipeRunner
Applies a recipe.

Namespace

Drupal\Core\Recipe

Code

protected static function processInstall(InstallConfigurator $install, StorageInterface $recipeConfigStorage) : void {
    foreach ($install->modules as $name) {
        static::installModule($name, $recipeConfigStorage);
    }
    // Themes can depend on modules so have to be installed after modules.
    foreach ($install->themes as $name) {
        static::installTheme($name, $recipeConfigStorage);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal