You are here

public function ImageField::getFieldWidgetMap in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/image/src/Plugin/migrate/field/d7/ImageField.php \Drupal\image\Plugin\migrate\field\d7\ImageField::getFieldWidgetMap()

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides FieldPluginBase::getFieldWidgetMap

File

core/modules/image/src/Plugin/migrate/field/d7/ImageField.php, line 21

Class

ImageField
Plugin annotation @MigrateField( id = "image", core = {7}, source_module = "image", destination_module = "image" )

Namespace

Drupal\image\Plugin\migrate\field\d7

Code

public function getFieldWidgetMap() {
  return [
    'image' => 'image_default',
    'image_miw' => 'image_image',
  ];
}