You are here

public function Location::getFieldFormatterMap in Geolocation Field 8.3

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/Location.php, line 34

Class

Location
A migrate field plugin for Drupal 7 Location CCK field values.

Namespace

Drupal\geolocation\Plugin\migrate\field

Code

public function getFieldFormatterMap() {
  return [
    'location_default' => 'geolocation_latlng',
  ];
}