You are here

public function EmvideoField::getFieldFormatterMap in Video Embed Field 8

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

This is used by static::alterFieldFormatterMigration() in the base class.

Return value

array The keys are D6 formatters and the values are D8 formatters.

Overrides FieldPluginBase::getFieldFormatterMap

File

src/Plugin/migrate/cckfield/EmvideoField.php, line 31

Class

EmvideoField
Plugin to migrate from the Drupal 6 emfield module.

Namespace

Drupal\video_embed_field\Plugin\migrate\cckfield

Code

public function getFieldFormatterMap() {
  return [
    'default' => 'video_embed_field_video',
    'video' => 'video_embed_field_video',
    'thumbnail' => 'video_embed_field_thumbnail',
  ];
}