Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Block Migration

2 sites No security coverage
View on drupal.org

Block Migration provides Drush commands to export and import custom block content with full multilingual support. This tool helps deploy blocks between environments, share them across sites, and manage them through version control.

The Problem: Drupal's Configuration Management system exports block configuration (placement, visibility settings, plugin configuration), but it cannot export custom block content. Custom blocks created at /block/add are content entities, not configuration, leaving a gap when deploying blocks between environments or sharing them across sites. Existing solutions like Default Content focus on nodes and other entity types, but lack robust block-specific migration tools with translation support.

The Solution: Block Migration provides Drush commands to export and import custom block content between Drupal sites with full multilingual support, filling this critical gap in Drupal's deployment workflow.

Use cases:

  • Migrate blocks between development, staging, and production environments
  • Share block configurations across multisite installations
  • Back up and restore block content as code
  • Deploy block content via version control

Key features:

  • Supports any block bundle (basic, custom types, etc.)
  • Auto-detects and exports all custom fields
  • Full translation support - one YAML file per language
  • Flexible filtering by block IDs, bundles, languages, or label patterns
  • Safe mode (skip existing) and override mode (update existing)
  • Dry-run preview option
  • Compatible with 15+ field types including text, entity references, images, links, dates, and more

Requirements:

  • Single Content Sync module (for import functionality)
  • Drush 10 or higher

Basic usage:

drush bm-export /path/to/output
drush bm-import /path/to/yaml

See the README for complete documentation and advanced filtering options.

Activity

Total releases
3
First release
Feb 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Jun 10, 2026
1.x-dev Dev Feb 22, 2026
1.0.x-dev Dev Feb 20, 2026