function LinkField::processCckFieldValues

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\cckfield

Code

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