You are here

public function RangeField::defineValueProcessPipeline in Range 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

File

src/Plugin/migrate/field/d6/RangeField.php, line 123

Class

RangeField
MigrateField Plugin for Drupal 6 range fields.

Namespace

Drupal\range\Plugin\migrate\field\d6

Code

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