Drupal Recipes

Body

Recipes allow Drupal module installation and configuration automation via the user interface and the Drupal recipe runner.

Recipes are:

  • Applied to Drupal sites, they are not installed.
  • Easy to share
  • Do not lock sites in
  • Composable from other Drupal recipes

In Drupal 10.3, Recipes were added to core as experimental. You can find core's recipes at /core/recipes. Custom and contributed recipes are kept above the webroot in ../recipes.

Applying recipes

Recipes are applied using core's PHP Drupal script. CD into your webroot and run:

php core/scripts/drupal recipe ../recipes/[recipe-name] -v

For more detailed documentation on how recipes work and how to create your recipes please visit:

Developer Documentation

Knowledge Category