You are here

public function RangeField::getFieldWidgetMap in Range 8

Same name in this branch
  1. 8 src/Plugin/migrate/field/d6/RangeField.php \Drupal\range\Plugin\migrate\field\d6\RangeField::getFieldWidgetMap()
  2. 8 src/Plugin/migrate/field/d7/RangeField.php \Drupal\range\Plugin\migrate\field\d7\RangeField::getFieldWidgetMap()

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/d7/RangeField.php, line 28

Class

RangeField
MigrateField Plugin for Drupal 7 range fields.

Namespace

Drupal\range\Plugin\migrate\field\d7

Code

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