function DateField::getFieldWidgetMap
Same name in other branches
- 9 core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldWidgetMap()
- 8.9.x core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldWidgetMap()
- 8.9.x core/modules/datetime/src/Plugin/migrate/field/d6/DateField.php \Drupal\datetime\Plugin\migrate\field\d6\DateField::getFieldWidgetMap()
- 11.x core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldWidgetMap()
Overrides FieldPluginBase::getFieldWidgetMap
File
-
core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php, line 46
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',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.