D6FileField.php in Drupal 8
File
core/modules/migrate_drupal/tests/modules/migrate_cckfield_plugin_manager_test/src/Plugin/migrate/cckfield/D6FileField.php
View source
<?php
namespace Drupal\migrate_cckfield_plugin_manager_test\Plugin\migrate\cckfield;
use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
use Drupal\migrate\Plugin\MigrationInterface;
class D6FileField extends CckFieldPluginBase {
public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
$migration
->setProcessOfProperty($field_name, [
'class' => static::class,
]);
}
}
Classes
Name |
Description |
D6FileField |
Plugin annotation
@MigrateCckField(
id = "d6_file",
core = {6},
type_map = {
"file" = "file"
},
source_module = "foo",
destination_module = "bar"
) |