public static function DateTimeDefaultFormatter::defaultSettings in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeDefaultFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides DateTimeFormatterBase::defaultSettings
File
- core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeDefaultFormatter.php, line 30 - Contains \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeDefaultFormatter.
Class
- DateTimeDefaultFormatter
- Plugin implementation of the 'Default' formatter for 'datetime' fields.
Namespace
Drupal\datetime\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'format_type' => 'medium',
) + parent::defaultSettings();
}