You are here

public function VideoItem::getFieldFormatterMap in Video 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/migrate/cckfield/VideoItem.php \Drupal\video\Plugin\migrate\cckfield\VideoItem::getFieldFormatterMap()

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/VideoItem.php, line 28

Class

VideoItem
Plugin annotation @MigrateCckField( id = "video", core = {7} )

Namespace

Drupal\video\Plugin\migrate\cckfield

Code

public function getFieldFormatterMap() {
  return [
    'video_formatter_player' => 'video_player_list',
  ];
}