You are here

public function TimeZoneField::getFieldFormatterMap in Time Zone 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/field/TimeZoneField.php, line 26

Class

TimeZoneField
Migration plugin for time zone field (tzfield).

Namespace

Drupal\tzfield\Plugin\migrate\field

Code

public function getFieldFormatterMap() {
  return [
    'tzfield_default' => 'basic_string',
    'tzfield_date' => 'basic_string',
  ];
}