Release Day: The Drupal Recipes API

We recently completed a new set of tutorials covering the Drupal Recipe API. My interest in Drupal recipes began while I was working on documentation for the Drupal CMS User Guide, which relies heavily on recipes to provide its features. Drupal CMS is just Drupal core plus a curated set of contributed modules, preconfigured to deliver common features following best practices—and recipes are what make that possible.

Aside: Drupal CMS calls them “recomended add-ons” but behind the scenes they’re recipes. If you’re curious to see recipes in action install Drupal CMS and enable one or more of the recommended add-ons.

Recipes (see the Recipes initiative) are a way to package up configuration that can be applied to a Drupal site. Much like the recipes in a cookbook provide instructions for how to prepare a meal, Drupal recipes provide instructions for how to prepare a feature. Combine a few recipes and you’ve got the makings of a feast (or a CMS tailored to your specific needs).

Recipes allow experienced Drupal developers to package up their knowledge and share it with others. They also allow site builders to apply recipes to their sites without needing to understand the underlying configuration. If you’ve built a Drupal site before, you’ve probably configured a content type for blog posts or events, and added Views to display those items. In fact, you’ve probably done this multiple times across multiple sites. Over time, you develop patterns and best practices—approaches to configuring Drupal that work well for your clients or your team. Recipes give you a way to capture those patterns, share them, and reuse them again and again.

The result: faster development and more time for site builders to focus on what’s unique about their site—and the value they bring to their clients.

In this course, we’ll dive into the Drupal Recipe API and explore how to create and use recipes to capture the patterns and best practices you’ve developed—saving you time and effort in the long run.

Explore the Drupal Recipes course now.

What you’ll learn

This course contains content for both site builders and developers. Site builders will learn how to apply recipes to their sites, while developers will learn how to create and use recipes.

We cover:

  • What Recipes are and the problem they aim to solve
  • The Configuration Actions API
  • How to find and apply a recipe
  • The anatomy of a recipe, and how to create your own recipes
  • How to discover and use existing configuration actions in a recipe
  • How to define custom configuration actions

Tutorials in this course

Check out the full course here: Drupal Recipes.

We’d love to hear what you think! Share your feedback with us in the comments, or let us know what else you’d like to see in future tutorials.

Similar Posts

  • 11 Affiliate Marketers Share Proven Tips for 2024

    I asked 11 affiliate marketers for their top affiliate marketing tips in 2024. Here are the tips they shared and how to do them. Ahrefs SEO Toolbar and recommends an out-of-stock product: Since the site owner earns $10-$15 per sale, recovering just one commission would make using the plugin worthwhile. Keywords Explorer, go to the Matching terms…

  • How to Guide Your Clients to the Best WordPress Solutions

    There’s more than one way to accomplish your design and functionality goals with WordPress. You’ll find multiple themes and plugins to choose from. And writing custom code is always an option. It’s wonderful to have choices. However, it can also be overwhelming – especially when working with clients. You want to find the best solutions…

  • 100 Most Cited Domains in Google’s AI Mode

    Article Performance Data from Ahrefs Linking websites The number of websites linking to this post. Get the week’s best marketing content We analyzed our Brand Radar database of 5.5 million AI Mode queries to identify the domains that appear most often in Google’s AI Mode responses. These are the 100 most cited domains, along with…