public function TimeZoneField::getFieldWidgetMap in Time Zone Field 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/ TimeZoneField.php, line 36
Class
- TimeZoneField
- Migration plugin for time zone field (tzfield).
Namespace
Drupal\tzfield\Plugin\migrate\fieldCode
public function getFieldWidgetMap() {
// By default, use the plugin ID for the widget types.
return [
'options_select' => 'tzfield_default',
'tzfield_autocomplete' => 'tzfield_default',
];
}