Drupal Recipes: Modular Configurations for Streamlined Site Building
A recent blog post by Drupal Helps explores the concept of Drupal Recipes, an experimental API aimed at replacing complex distributions with modular, composable configurations for Drupal websites. Recipes provide a lightweight way to apply pre-configured functionality, themes, and content to a site, defined by `recipe.yaml` and `composer.json` files. Unlike traditional distributions, they are applied once and leave no ongoing dependencies. Recipes support granular configurations, allowing for mix-and-match features, and include powerful tools like config actions for adjustments such as granting permissions or managing workflows. While Recipes simplify site building, they currently lack uninstall mechanisms, conflict detection, and robust validation, making them suitable only for local development environments. Ongoing development aims to address these limitations, enhance validation, and integrate Recipes with Project Browser for easier discovery and application.
