function D6FileField::processCckFieldValues
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/ migrate_drupal/ tests/ modules/ migrate_cckfield_plugin_manager_test/ src/ Plugin/ migrate/ cckfield/ D6FileField.php, line 24
Class
- D6FileField
- Plugin annotation @MigrateCckField( id = "d6_file", core = {6}, type_map = { "file" = "file" }, source_module = "foo", destination_module = "bar" )
Namespace
Drupal\migrate_cckfield_plugin_manager_test\Plugin\migrate\cckfieldCode
public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
$migration->setProcessOfProperty($field_name, [
'class' => static::class,
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.