Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This Drush command suite simplifies exporting and importing Drupal entity bundles like content types and media types using the native recipes system. It intelligently detects and includes all necessary configurations and dependencies, ensuring a safe and automated process for site migrations and deployments.

Recipes Helper is a Drush command suite that streamlines the export and import of Drupal entity bundles (content types, paragraph types, media types, vocabularies, and custom block types) using Drupal's native recipes system.

Key Features:

  • Universal Bundle Export - Works with any bundleable entity type out of the box
  • Smart Field Storage - Only exports field storage configurations actually used by each bundle, not all entity type storage
  • Advanced Dependency Detection - Three-strategy approach automatically finds and exports:
    • Referenced media types and vocabularies with all their configurations
    • Required modules based on field types
    • Edge case configs (field_validation, conditional_fields, etc.) using bundle-level detection
    • Module dependencies inferred from config prefixes
  • Safe Import by Default - Skips existing configurations to prevent accidental overwrites
  • Force Overwrite Option - Optional --force flag for intentional overwrites
  • Automatic Module Installation - Installs required modules before importing configs
  • Batch Operations - Export or import all bundles of an entity type in one command

Why Recipes Helper?

Exporting Drupal entity bundles with all dependencies typically requires manual identification of related configurations, tracking field storage dependencies, finding edge case configs, and multiple import steps. Recipes Helper automates this with intelligent bundle-level scanning that catches complex edge cases while avoiding false positives from Views, Search API indexes, and other configs that may reference field names.

Commands:

  • drush recipes-helper:list:types (rhlt) - List supported entity types
  • drush recipes-helper:list [entity_type] (rhlb) - List all bundles for an entity type
  • drush recipes-helper:export [entity_type] [bundle] (rhex) - Export a single bundle
  • drush recipes-helper:export:all [entity_type] (rhexa) - Export all bundles of a type
  • drush recipes-helper:import [recipe_path] [--force] (rhim) - Import a recipe
  • drush recipes-helper:import:all [directory] [--force] (rhima) - Batch import all recipes

Use Cases:

  • Site-to-site migrations
  • Multi-site deployments
  • Development workflows (dev → staging → production)
  • Distribution building
  • Component libraries
  • Configuration management with version control

Requirements:

  • Drupal 10.x or 11.x
  • Drush 12+ (Drush 13 recommended)

For detailed documentation, examples, and troubleshooting, see the README file. For more information about Drupal recipes, see the official Drupal recipes documentation.

Credits

Co-authored with Claude Code - AI pair programming assistant by Anthropic.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Nov 27, 2025