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'm creating some D7 to D7 migrate imports, i've mapped the fields like this:
class MigrazioneNodiConcept extends MigrazioneNodi{
public function __construct(array $arguments) {
parent::__construct($arguments);
$this->sourceFields['title_field:language'] = 'Titolo: lingua del campo';
$this->sourceFields['field_subtitle_concept:language'] = 'Subtitle: lingua del campo';
$this->source = new MigrateSourceSQL($this->query(), $this->sourceFields, NULL, $this->sourceOptions);
$this->addFieldMapping('title_field', 'title_field');
$this->addFieldMapping('title_field:language', 'title_field:language');
but nothing appens. All the fields are imported with one (random) language... all my modules are in the latest DEV version... someone can help me?
Comments
Comment #1
plachThis is definitely a question for Migrate maintainers :)
Comment #2
13rac1 CreditAttribution: 13rac1 commentedAre you using the Drupal to Drupal migration module? https://drupal.org/project/migrate_d2d Perhaps this should go into that specific queue?
Comment #3
mikeryanMoving to the correct queue.
Please provide more details - it's difficult to tell what might be happening here. Also, you might want to look at #2091029: Entity translations are not migrated when using *:language subfields - at this point there's no support for migration into the Entity Translation module.
Comment #4
mikeryan