You are here

public function Geofield::getFieldFormatterMap in Geofield 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/Geofield.php, line 46

Class

Geofield
MigrateField Plugin for Drupal 6 and 7 email fields.

Namespace

Drupal\geofield\Plugin\migrate\field

Code

public function getFieldFormatterMap() {
  return [
    'geofield_wkt' => 'geofield_default',
    'geofield_latlon' => 'geofield_latlon',
    'geofield_geojson' => 'geofield_default',
    'geofield_openlayers' => 'geofield_default',
  ];
}