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.
I think it would be helpful if migrate_example_baseball include a comment regarding the use of multiple map keys and how that prevents sourceMigration() from working as expected. Attached is a patch that adds the following comment just before $this->map = new MigrateSQLMap($this->machineName
in migrate_example_baseball.migrate.inc:
/**
* Note that using more than one key in a map object (as in this example)
* will prevent sourceMigration() from working as expected when mapping
* destination fields.
* See https://www.drupal.org/node/2217909 for a discussion of this issue.
*/
Comment | File | Size | Author |
---|---|---|---|
multiKeyMapSrcMigrationComment-7.x-2.8.patch | 1.06 KB | thekenshow | |
Comments