public function LinkField::processCckFieldValues in Drupal 8
Apply any custom processing to the field bundle migrations.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.
string $field_name: The field name we're processing the value for.
array $data: The array of field data from FieldValues::fieldData().
Overrides CckFieldPluginBase::processCckFieldValues
File
- core/
modules/ link/ src/ Plugin/ migrate/ cckfield/ LinkField.php, line 49
Class
- LinkField
- Plugin annotation @MigrateCckField( id = "link", core = {6}, type_map = { "link_field" = "link" }, source_module = "link", destination_module = "link" )
Namespace
Drupal\link\Plugin\migrate\cckfieldCode
public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
$process = [
'plugin' => 'd6_cck_link',
'source' => $field_name,
];
$migration
->mergeProcessOfProperty($field_name, $process);
}