-class ImageField extends FieldPluginBase {
-
- /**
- * {@inheritdoc}
- */
- public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
- $process = [
- 'plugin' => 'sub_process',
- 'source' => $field_name,
- 'process' => [
- 'target_id' => 'fid',
- 'alt' => 'alt',
- 'title' => 'title',
- 'width' => 'width',
- 'height' => 'height',
- ],
- ];
- $migration->mergeProcessOfProperty($field_name, $process);
- }
-
-}