summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphenaproxima2018-08-29 11:41:27 (GMT)
committerBojan Zivanovic2018-08-29 11:41:27 (GMT)
commit39bb7910a022a369861d5ab7973c477826384449 (patch)
treed828daebaf0fd5ecda9c042b6ac8c436876cde7e
parenta29a522821025127519fc816e19105d9b220a45d (diff)
Issue #2988163 by phenaproxima: Make AddressField migration plugin compatible with 8.6 API
-rw-r--r--src/Plugin/migrate/field/AddressField.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Plugin/migrate/field/AddressField.php b/src/Plugin/migrate/field/AddressField.php
index 10fd03f..14d753f 100644
--- a/src/Plugin/migrate/field/AddressField.php
+++ b/src/Plugin/migrate/field/AddressField.php
@@ -39,7 +39,7 @@ class AddressField extends FieldPluginBase {
/**
* {@inheritdoc}
*/
- public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
+ public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {
$process = [
'plugin' => 'addressfield',
'source' => $field_name,
@@ -47,4 +47,11 @@ class AddressField extends FieldPluginBase {
$migration->mergeProcessOfProperty($field_name, $process);
}
+ /**
+ * {@inheritdoc}
+ */
+ public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
+ $this->defineValueProcessPipeline($migration, $field_name, $data);
+ }
+
}