You are here

public function NameItem::getFieldFormatterMap in Name 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/NameItem.php, line 23

Class

NameItem
Name migrate plugin.

Namespace

Drupal\name\Plugin\migrate\cckfield

Code

public function getFieldFormatterMap() {
  return [
    'name_formatter' => 'name_default',
  ];
}