Mercurial > hg > isophonics-drupal-site
comparison core/modules/user/src/Plugin/migrate/ProfileValues.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | c2387f117808 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
26 $definition['source'] = [ | 26 $definition['source'] = [ |
27 'plugin' => 'profile_field', | 27 'plugin' => 'profile_field', |
28 'ignore_map' => TRUE, | 28 'ignore_map' => TRUE, |
29 ] + $this->source; | 29 ] + $this->source; |
30 $definition['destination']['plugin'] = 'null'; | 30 $definition['destination']['plugin'] = 'null'; |
31 $definition['idMap']['plugin'] = 'null'; | |
31 try { | 32 try { |
32 $profile_field_migration = $this->migrationPluginManager->createStubMigration($definition); | 33 $profile_field_migration = $this->migrationPluginManager->createStubMigration($definition); |
33 $source_plugin = $profile_field_migration->getSourcePlugin(); | 34 $source_plugin = $profile_field_migration->getSourcePlugin(); |
34 $source_plugin->checkRequirements(); | 35 $source_plugin->checkRequirements(); |
35 foreach ($source_plugin as $row) { | 36 foreach ($source_plugin as $row) { |