/**
  * {@inheritdoc}
  */
 public function processFieldFormatter(MigrationInterface $migration)
 {
     $process = [];
     foreach ($this->getFieldFormatterMap() as $source_format => $destination_format) {
         $process[0]['map'][$this->pluginId][$source_format] = $destination_format;
     }
     $migration->mergeProcessOfProperty('options/type', $process);
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data)
 {
     $process = ['plugin' => 'd6_cck_file', 'source' => $field_name];
     $migration->mergeProcessOfProperty($field_name, $process);
 }
示例#3
0
 /**
  * {@inheritdoc}
  */
 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data)
 {
     $process = ['plugin' => 'iterator', 'source' => $field_name, 'process' => ['target_id' => 'fid', 'display' => 'display', 'description' => 'description']];
     $migration->mergeProcessOfProperty($field_name, $process);
 }
示例#4
0
 /**
  * {@inheritdoc}
  */
 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data)
 {
     $process = ['plugin' => 'iterator', 'source' => $field_name, 'process' => ['target_id' => 'fid', 'alt' => 'alt', 'title' => 'title', 'width' => 'width', 'height' => 'height']];
     $migration->mergeProcessOfProperty($field_name, $process);
 }
 /**
  * {@inheritdoc}
  */
 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data)
 {
     $process = ['plugin' => 'iterator', 'source' => $field_name, 'process' => ['value' => 'video_url']];
     $migration->mergeProcessOfProperty($field_name, $process);
 }
示例#6
0
 /**
  * {@inheritdoc}
  */
 public function processFieldInstance(MigrationInterface $migration)
 {
     $process = ['plugin' => 'static_map', 'source' => 'instance_settings/title', 'bypass' => TRUE, 'map' => ['disabled' => DRUPAL_DISABLED, 'optional' => DRUPAL_OPTIONAL, 'required' => DRUPAL_REQUIRED]];
     $migration->mergeProcessOfProperty('settings/title', $process);
 }