/** * {@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); }
/** * {@inheritdoc} */ public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) { $process = ['plugin' => 'd6_cck_file', 'source' => $field_name]; $migration->mergeProcessOfProperty($field_name, $process); }
/** * {@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); }
/** * {@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); }
/** * {@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); }