function ImageField::getFieldWidgetMap

Same name in other branches
  1. 10 core/modules/image/src/Plugin/migrate/field/d7/ImageField.php \Drupal\image\Plugin\migrate\field\d7\ImageField::getFieldWidgetMap()
  2. 11.x core/modules/image/src/Plugin/migrate/field/d7/ImageField.php \Drupal\image\Plugin\migrate\field\d7\ImageField::getFieldWidgetMap()

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',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.