function ImageField::getFieldWidgetMap

Same name in other branches
  1. 9 core/modules/image/src/Plugin/migrate/field/d7/ImageField.php \Drupal\image\Plugin\migrate\field\d7\ImageField::getFieldWidgetMap()
  2. 10 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 20

Class

ImageField

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.