function FieldPluginBase::defineValueProcessPipeline

Same name in other branches
  1. 8.9.x 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

8 methods override FieldPluginBase::defineValueProcessPipeline()
DateField::defineValueProcessPipeline in core/modules/datetime/src/Plugin/migrate/field/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.
ImageField::defineValueProcessPipeline in core/modules/image/src/Plugin/migrate/field/d7/ImageField.php
Apply any custom processing to the field bundle migrations.
LinkField::defineValueProcessPipeline in core/modules/link/src/Plugin/migrate/field/d6/LinkField.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 97

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.