You are here

public function Geofield::getFieldWidgetMap in Geofield 8

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/Geofield.php, line 26

Class

Geofield
MigrateField Plugin for Drupal 6 and 7 email fields.

Namespace

Drupal\geofield\Plugin\migrate\field

Code

public function getFieldWidgetMap() {
  return [
    'geofield_wkt' => 'geofield_default',
    'geofield_geojson' => 'geofield_default',
    'geofield_kml' => 'geofield_default',
    'geofield_gpx' => 'geofield_default',
    'geofield_geohash' => 'geofield_default',
    'geofield_latlon' => 'geofield_latlon',
    'geofield_lat' => 'geofield_default',
    'geofield_lon' => 'geofield_default',
    'geofield_geo_type' => 'geofield_default',
    'geofield_def_list' => 'geofield_default',
    'geofield_description' => 'geofield_default',
    'geofield_openlayers' => 'geofield_default',
  ];
}