function LinkField::defineValueProcessPipeline

Same name in other branches
  1. 9 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::defineValueProcessPipeline()
  2. 8.9.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::defineValueProcessPipeline()
  3. 11.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::defineValueProcessPipeline()

Overrides FieldPluginBase::defineValueProcessPipeline

File

core/modules/link/src/Plugin/migrate/field/d6/LinkField.php, line 41

Class

LinkField

Namespace

Drupal\link\Plugin\migrate\field\d6

Code

public function defineValueProcessPipeline(MigrationInterface $migration, $field_name, $data) {
    $process = [
        'plugin' => 'field_link',
        '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.