function 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 64
Class
- Recipe
- @internal This API is experimental.
Namespace
Drupal\Core\RecipeCode
public function __construct(string $name, string $description, string $type, RecipeConfigurator $recipes, InstallConfigurator $install, ConfigConfigurator $config, InputConfigurator $input, Finder $content, string $path) {
}