function FieldPluginBase::defineValueProcessPipeline

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::defineValueProcessPipeline()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::defineValueProcessPipeline()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::defineValueProcessPipeline()

Overrides MigrateFieldInterface::defineValueProcessPipeline

1 call to FieldPluginBase::defineValueProcessPipeline()
FieldPluginBase::processFieldValues in core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php
Defines the process pipeline for field values.
11 methods override FieldPluginBase::defineValueProcessPipeline()
CckFieldPluginBase::defineValueProcessPipeline in core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php
Apply any custom processing to the field bundle migrations.
DateField::defineValueProcessPipeline in core/modules/datetime/src/Plugin/migrate/field/DateField.php
Apply any custom processing to the field bundle migrations.
DateField::defineValueProcessPipeline in core/modules/datetime/src/Plugin/migrate/field/d6/DateField.php
Apply any custom processing to the field bundle migrations.
Email::defineValueProcessPipeline in core/modules/field/src/Plugin/migrate/field/Email.php
Apply any custom processing to the field bundle migrations.
FileField::defineValueProcessPipeline in core/modules/file/src/Plugin/migrate/field/d6/FileField.php
Apply any custom processing to the field bundle migrations.

... See full list

File

core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php, line 167

Class

FieldPluginBase
The base class for all field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.