3 namespace Drupal\file\Plugin\migrate\cckfield\d7;
5 @trigger_error('ImageField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\file\Plugin\migrate\field\d7\ImageField instead.', E_USER_DEPRECATED);
7 use Drupal\migrate\Plugin\MigrationInterface;
8 use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
16 * @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
17 * \Drupal\file\Plugin\migrate\field\d7\ImageField instead.
19 * @see https://www.drupal.org/node/2751897
21 class ImageField extends CckFieldPluginBase {
26 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
28 'plugin' => 'sub_process',
29 'source' => $field_name,
38 $migration->mergeProcessOfProperty($field_name, $process);