function DateField::getFieldFormatterMap

Same name in other branches
  1. 9 core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldFormatterMap()
  2. 10 core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldFormatterMap()
  3. 11.x core/modules/datetime/src/Plugin/migrate/field/DateField.php \Drupal\datetime\Plugin\migrate\field\DateField::getFieldFormatterMap()

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\field

Code

public function getFieldFormatterMap() {
    return [
        'date_default' => 'datetime_default',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.