You are here

public function VideoEmbedField::getFieldWidgetMap in Video Embed Field 8

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

src/Plugin/migrate/cckfield/VideoEmbedField.php, line 42

Class

VideoEmbedField
Plugin to migrate from the Drupal 7 video_embed_field module.

Namespace

Drupal\video_embed_field\Plugin\migrate\cckfield

Code

public function getFieldWidgetMap() {
  return [
    'video_embed_field_video' => 'video_embed_field_textfield',
  ];
}