function RecipeRunner::processRecipe

Same name in other branches
  1. 10 core/lib/Drupal/Core/Recipe/RecipeRunner.php \Drupal\Core\Recipe\RecipeRunner::processRecipe()

Parameters

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

36 calls to RecipeRunner::processRecipe()
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 in core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddItemToToolbarConfigActionTest::testAddItemToToolbar in core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
@testWith ["sourceEditing", ["heading", "bold", "italic", "sourceEditing"]] [{"item_name": "sourceEditing"}, ["heading", "bold", "italic",…
AddItemToToolbarConfigActionTest::testAddNonExistentItem in core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddModerationConfigActionTest::testActionOnlyTargetsWorkflows in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
AddModerationConfigActionTest::testAddEntityTypeAndBundle in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php

... See full list

File

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

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.