public function DateField::getFieldFormatterMap in Drupal 8
Same name and namespace in other branches
- 9 core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldFormatterMap()
Get a map between D6 formatters and D8 formatters for this field type.
This is used by static::alterFieldFormatterMigration() in the base class.
Return value
array The keys are D6 formatters and the values are D8 formatters.
Overrides FieldPluginBase::getFieldFormatterMap
File
- core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php, line 30
Class
- DateField
- Provides a field plugin for date and time fields.
Namespace
Drupal\datetime\Plugin\migrate\fieldCode
public function getFieldFormatterMap() {
return [
'date_default' => 'datetime_default',
];
}