You are here

public function Location::getFieldWidgetMap in Geolocation Field 8.3

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides FieldPluginBase::getFieldWidgetMap

File

src/Plugin/migrate/field/Location.php, line 43

Class

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

Namespace

Drupal\geolocation\Plugin\migrate\field

Code

public function getFieldWidgetMap() {
  return [
    'location' => 'geolocation_latlng',
  ];
}