public function VideoEmbedField::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/ VideoEmbedField.php, line 31
Class
- VideoEmbedField
- Plugin to migrate from the Drupal 7 video_embed_field module.
Namespace
Drupal\video_embed_field\Plugin\migrate\cckfieldCode
public function getFieldFormatterMap() {
return [
'default' => 'video_embed_field_video',
'video_embed_field' => 'video_embed_field_video',
'video_embed_field_thumbnail' => 'video_embed_field_thumbnail',
];
}