You are here

public function EmvideoField::getFieldFormatterMap in Video Embed Field 8.2

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/field/EmvideoField.php, line 31

Class

EmvideoField
Plugin to migrate from the Drupal 6 emfield module.

Namespace

Drupal\video_embed_field\Plugin\migrate\field

Code

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