Commit 39bb7910 authored by phenaproxima's avatar phenaproxima Committed by bojanz
Browse files

Issue #2988163 by phenaproxima: Make AddressField migration plugin compatible with 8.6 API

parent a29a5228
...@@ -39,7 +39,7 @@ class AddressField extends FieldPluginBase { ...@@ -39,7 +39,7 @@ class AddressField extends FieldPluginBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function processFieldValues(MigrationInterface $migration, $field_name, $data) { public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {
$process = [ $process = [
'plugin' => 'addressfield', 'plugin' => 'addressfield',
'source' => $field_name, 'source' => $field_name,
...@@ -47,4 +47,11 @@ class AddressField extends FieldPluginBase { ...@@ -47,4 +47,11 @@ class AddressField extends FieldPluginBase {
$migration->mergeProcessOfProperty($field_name, $process); $migration->mergeProcessOfProperty($field_name, $process);
} }
/**
* {@inheritdoc}
*/
public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
$this->defineValueProcessPipeline($migration, $field_name, $data);
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment