public function DateField::getFieldWidgetMap in Drupal 9
Same name and namespace in other branches
- 8 core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::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
- core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php, line 43
Class
- DateField
- Provides a field plugin for date and time fields.
Namespace
Drupal\datetime\Plugin\migrate\fieldCode
public function getFieldWidgetMap() {
return [
'date' => 'datetime_default',
'datetime' => 'datetime_default',
'datestamp' => 'datetime_timestamp',
];
}