You are here

public function CckFieldPluginBase::defineValueProcessPipeline in Drupal 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

core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php, line 26

Class

CckFieldPluginBase
The base class for all field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\cckfield

Code

public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {

  // Provide a bridge to the old method declared on the interface and now an
  // abstract method in this class.
  return $this
    ->processCckFieldValues($migration, $field_name, $data);
}