Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download migrate_plus-8.x-2.0-beta2.tar.gztar.gz
52.64 KB
MD5: 5af87dd3d06174f3d4289cd5fab68ba2
SHA-1: 9f7aef7aa90133ec376b9cf7fa914aa4617fcf1b
SHA-256: 0b50ebb6884761f49816dd15c193b06fb37b8c1393f64eb1185e39a1711b6377
Download migrate_plus-8.x-2.0-beta2.zipzip
123.23 KB
MD5: 1d597041397502d5e99f28fbbced829d
SHA-1: 0b29113a3c00c7ab3ba73e811da3450edca4c0bb
SHA-256: b3814906ba7cc714c5e65eb01c1967198c88fc43e9b223a55af594fb90d05afb
Release notes
The migrate_plus module extends the core migration system with API enhancements
and additional functionality, as well as providing practical examples.
Extensions to base API
- A Migration configuration entity is provided, enabling persistence of dynamic
migration configuration. - A ConfigEntityDiscovery class is implemented which enables plugin configuration
to be based on configuration entities. This is fully general - it can be used
for any configuration entity type, not just migrations. - A MigrationConfigEntityPluginManager class and corresponding
plugin.manager.config_entity_migration service is provided, to enable discovery
and instantiation of migration plugins based on the Migration configuration
entity. - A MigrationGroup configuration entity is provided, which enables migrations to
be organized in groups, and to maintain shared configuration in one place. - A MigrateEvents::PREPARE_ROW event is provided to dispatch hook_prepare_row()
invocations as events. - A SourcePluginExtension class is provided, enabling one to define fields and
IDs for a source plugin via configuration rather than requiring PHP code.
Plugins
- A Url source plugin is provided, implementing a common structure for
file-based data providers. - An HTTP fetcher for the Url source plugin is provided.
- XML, JSON, and SOAP parsers for the Url source plugin are provided.
- entity_lookup and entity_generate process plugins are provided, for matching source data to existing entities, and lazily creating related entities dynamically.
Examples
example migration scenario demonstrating the basic concepts and most common
techniques for SQL-based migrations.
different kinds of sources, as well as less common techniques.