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

Breadcrumb

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

function RecipeRunner::processRecipe

Parameters

\Drupal\Core\Recipe\Recipe $recipe: The recipe to apply.

1 call to RecipeRunner::processRecipe()
RecipeRunner::processRecipes in core/lib/Drupal/Core/Recipe/RecipeRunner.php
Applies any recipes listed by the recipe.

File

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

Class

RecipeRunner
Applies a recipe.

Namespace

Drupal\Core\Recipe

Code

public static function processRecipe(Recipe $recipe) : void {
    static::processRecipes($recipe->recipes);
    static::processInstall($recipe->install, $recipe->config
        ->getConfigStorage());
    static::processConfiguration($recipe);
    static::processContent($recipe->content);
    static::triggerEvent($recipe);
}

API Navigation

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