903c7e87ee437689e38868a08c213468ada0c47d
[yaffs-website] / web / core / modules / migrate_drupal / tests / modules / migrate_field_plugin_manager_test / src / Plugin / migrate / cckfield / d6 / FileField.php
1 <?php
2
3 namespace Drupal\migrate_field_plugin_manager_test\Plugin\migrate\cckfield\d6;
4
5 use Drupal\migrate\Plugin\MigrationInterface;
6 use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
7
8 /**
9  * @MigrateCckField(
10  *   id = "filefield",
11  *   core = {6}
12  * )
13  */
14 class FileField extends CckFieldPluginBase {
15
16   /**
17    * {@inheritdoc}
18    */
19   public function getFieldFormatterMap() {
20     return [];
21   }
22
23   /**
24    * {@inheritdoc}
25    */
26   public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
27     $migration->mergeProcessOfProperty($field_name, [
28       'class' => __CLASS__,
29     ]);
30   }
31
32 }