public function LinkField::processCckFieldValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/link/src/Plugin/migrate/cckfield/LinkField.php \Drupal\link\Plugin\migrate\cckfield\LinkField::processCckFieldValues()
Apply any custom processing to the cck bundle migrations.
Parameters
\Drupal\migrate\Entity\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 CckFieldValues::fieldData().
Overrides MigrateCckFieldInterface::processCckFieldValues
File
- core/
modules/ link/ src/ Plugin/ migrate/ cckfield/ LinkField.php, line 41 - Contains \Drupal\link\Plugin\migrate\cckfield\LinkField.
Class
- LinkField
- Plugin annotation @MigrateCckField( id = "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);
}