Chris@0
|
1 The migrate_plus module extends the core migration system with API enhancements
|
Chris@0
|
2 and additional functionality, as well as providing practical examples.
|
Chris@0
|
3
|
Chris@0
|
4 Extensions to base API
|
Chris@0
|
5 ======================
|
Chris@0
|
6 * A Migration configuration entity is provided, enabling persistance of dynamic
|
Chris@0
|
7 migration configuration.
|
Chris@0
|
8 * A ConfigEntityDiscovery class is implemented which enables plugin configuration
|
Chris@0
|
9 to be based on configuration entities. This is fully general - it can be used
|
Chris@0
|
10 for any configuration entity type, not just migrations.
|
Chris@0
|
11 * A MigrationConfigEntityPluginManager class and corresponding
|
Chris@0
|
12 plugin.manager.config_entity_migration service is provided, to enable discovery
|
Chris@0
|
13 and instantiation of migration plugins based on the Migration configuration
|
Chris@0
|
14 entity.
|
Chris@0
|
15 * A MigrationGroup configuration entity is provided, which enables migrations to
|
Chris@0
|
16 be organized in groups, and to maintain shared configuration in one place.
|
Chris@0
|
17 * A MigrateEvents::PREPARE_ROW event is provided to dispatch hook_prepare_row()
|
Chris@0
|
18 invocations as events.
|
Chris@0
|
19 * A SourcePluginExtension class is provided, enabling one to define fields and
|
Chris@0
|
20 IDs for a source plugin via configuration rather than requiring PHP code.
|
Chris@0
|
21
|
Chris@0
|
22 Plugins
|
Chris@0
|
23 =======
|
Chris@0
|
24 * A Url source plugin is provided, implementing a common structure for
|
Chris@0
|
25 file-based data providers.
|
Chris@0
|
26 * XML and JSON fetchers and parsers for the Url source plugin are provided.
|
Chris@0
|
27
|
Chris@0
|
28 Examples
|
Chris@0
|
29 ========
|
Chris@0
|
30 * The migrate_example submodule provides a fully functional and runnable
|
Chris@0
|
31 example migration scenario demonstrating the basic concepts and most common
|
Chris@0
|
32 techniques for SQL-based migrations.
|
Chris@0
|
33 * The migrate_example_advanced submodule provides examples of migration from
|
Chris@0
|
34 different kinds of sources, as well as less common techniques.
|