public function ImageField::getFieldWidgetMap in Drupal 9
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\d7Code
public function getFieldWidgetMap() {
return [
'image' => 'image_default',
'image_miw' => 'image_image',
];
}