function Recipe::__construct

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

Parameters

string $name: The human-readable name of the recipe.

string $description: A short description of the recipe.

string $type: The recipe type.

\Drupal\Core\Recipe\RecipeConfigurator $recipes: The recipe configurator, which lists the recipes that will be applied before this one.

\Drupal\Core\Recipe\InstallConfigurator $install: The install configurator, which lists the extensions this recipe will install.

\Drupal\Core\Recipe\ConfigConfigurator $config: The config configurator, which lists the config that this recipe will install, and what config actions will be taken.

\Drupal\Core\Recipe\InputConfigurator $input: The input configurator, which collects any input values used by the recipe.

\Drupal\Core\DefaultContent\Finder $content: The default content finder.

string $path: The recipe's path.

File

core/lib/Drupal/Core/Recipe/Recipe.php, line 63

Class

Recipe
@internal This API is experimental.

Namespace

Drupal\Core\Recipe

Code

public function __construct(string $name, string $description, string $type, RecipeConfigurator $recipes, InstallConfigurator $install, ConfigConfigurator $config, InputConfigurator $input, Finder $content, string $path) {
}

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