You are here

public function Geofield::defineValueProcessPipeline in Geofield 8

Apply any custom processing to the field bundle migrations.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.

string $field_name: The field name we're processing the value for.

array $data: The array of field data from FieldValues::fieldData().

Overrides FieldPluginBase::defineValueProcessPipeline

1 call to Geofield::defineValueProcessPipeline()
Geofield::processFieldValues in src/Plugin/migrate/field/Geofield.php
Defines the process pipeline for field values.

File

src/Plugin/migrate/field/Geofield.php, line 58

Class

Geofield
MigrateField Plugin for Drupal 6 and 7 email fields.

Namespace

Drupal\geofield\Plugin\migrate\field

Code

public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {
  $process = [
    'plugin' => 'geofield_d7d8',
    'source' => $field_name,
  ];
  $migration
    ->mergeProcessOfProperty($field_name, $process);
}