Finalise the name for Drupal recipes

Created on 30 May 2022, over 2 years ago
Updated 19 December 2023, 9 months ago

Problem/Motivation

Drupal recipes allow the automation of Drupal module install and configuration via the user interface and via the Drupal recipe composer plugin.

A Drupal recipe is a tool for Site Builders and Developers to add functionality to a Drupal site. It is like a recipe that provides a series of steps to add functionality. These steps could be taken manually to arrive at the same point. For example, I might want to provide a blog recipe that configures modules to provide a great blogging experience and creates a few sample posts. Or it can include a number of other starter templates and modules to build a full site experience. Ideally Drupal recipes would not configure an entire site themselves but would break out their functionality into smaller starter templates that can be reused by other Drupal recipes.

Drupal recipes are:

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

Proposed resolution

Maybe "Drupal recipe" is not the best name. In Dries's recent keynote they were called Starter templates. Starter template as a name has been dropped because It potentially clashes with starterkit themes. To some people "starter" suggests something that can only be used during install. Template is a word that clashes with HTML and twig templates.

Drupal recipe has some current usages: Lando, DrupalRecipes project (the ​​Fox Valley Drupal group has no issues with core's usage).

Other potential suggestions have been:

  • Starter template
  • Feature template or Feature builder
  • Component template or Component builder
  • Drupal build recipe
  • Site Recipes
  • Feature starter templates

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.0

Component
Other 

Last updated about 8 hours ago

Created by

🇬🇧United Kingdom alexpott 🇪🇺🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Mangalesh.KR

    Hello Everyone,

    I tried with the recipe on my laptop but when I executed the "php core/scripts/drupal recipe recipes/contrib/[recipe-name]" in my inside of web/ directory in CLI, it showed the error such as " Command "recipe" is not defined."

    anyone, please help us, why i am getting the "not defined". Does it need to add "recipe" keyword anywhere in the files ?

    Thank you in advance.

Production build 0.71.5 2024