function FileField::processCckFieldValues

Same name in this branch
  1. 8.9.x core/modules/file/src/Plugin/migrate/cckfield/d7/FileField.php \Drupal\file\Plugin\migrate\cckfield\d7\FileField::processCckFieldValues()

Overrides CckFieldPluginBase::processCckFieldValues

File

core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php, line 52

Class

FileField
Plugin annotation @MigrateCckField( id = "filefield", core = {6}, source_module = "filefield", destination_module = "file" )

Namespace

Drupal\file\Plugin\migrate\cckfield\d6

Code

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