3 namespace Drupal\image\Plugin\migrate\cckfield\d7;
5 @trigger_error('ImageField is deprecated in Drupal 8.5.x and will be removed before Drupal 9.0.x. Use \Drupal\image\Plugin\migrate\field\d7\ImageField instead.', E_USER_DEPRECATED);
7 use Drupal\migrate\Plugin\MigrationInterface;
8 use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
14 * source_module = "image",
15 * destination_module = "file"
18 * @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.x. Use
19 * \Drupal\image\Plugin\migrate\field\d7\ImageField instead.
21 * @see https://www.drupal.org/node/2751897
23 class ImageField extends CckFieldPluginBase {
28 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
30 'plugin' => 'sub_process',
31 'source' => $field_name,
40 $migration->mergeProcessOfProperty($field_name, $process);