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. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::defineValueProcessPipeline()
  3. 10 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
Email::defineValueProcessPipeline in core/modules/field/src/Plugin/migrate/field/Email.php
FileField::defineValueProcessPipeline in core/modules/file/src/Plugin/migrate/field/d6/FileField.php
ImageField::defineValueProcessPipeline in core/modules/image/src/Plugin/migrate/field/d7/ImageField.php
LinkField::defineValueProcessPipeline in core/modules/link/src/Plugin/migrate/field/d6/LinkField.php

... 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.