You are here

public static function DateTimeFormatterBase::defaultSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeFormatterBase::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

2 calls to DateTimeFormatterBase::defaultSettings()
DateTimeCustomFormatter::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
Defines the default settings for this plugin.
DateTimeDefaultFormatter::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php
Defines the default settings for this plugin.
2 methods override DateTimeFormatterBase::defaultSettings()
DateTimeCustomFormatter::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeCustomFormatter.php
Defines the default settings for this plugin.
DateTimeDefaultFormatter::defaultSettings in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeDefaultFormatter.php
Defines the default settings for this plugin.

File

core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php, line 88
Contains \Drupal\datetime\Plugin\Field\FieldFormatter\DateTimeFormatterBase.

Class

DateTimeFormatterBase
Base class for 'DateTime Field formatter' plugin implementations.

Namespace

Drupal\datetime\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'timezone_override' => '',
  ) + parent::defaultSettings();
}