function LinkField::defineValueProcessPipeline
Same name in other branches
- 8.9.x core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::defineValueProcessPipeline()
- 10 core/modules/link/src/Plugin/migrate/field/d6/LinkField.php \Drupal\link\Plugin\migrate\field\d6\LinkField::defineValueProcessPipeline()
- 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 42
Class
- LinkField
- Plugin annotation @MigrateField( id = "link", core = {6}, type_map = { "link" = "link", }, source_module = "link", destination_module = "link" )
Namespace
Drupal\link\Plugin\migrate\field\d6Code
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.