public static function DateTimeCustomFormatter::defaultSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeCustomFormatter::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/ DateTimeCustomFormatter.php, line 30 - Contains \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeCustomFormatter.
Class
- DateTimeCustomFormatter
- Plugin implementation of the 'Custom' formatter for 'datetime' fields.
Namespace
Drupal\datetime\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'date_format' => DATETIME_DATETIME_STORAGE_FORMAT,
) + parent::defaultSettings();
}