You are here

public static function TimeZoneFieldFormatter::defaultSettings in Time Zone Field 8

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/TimeZoneFieldFormatter.php, line 48

Class

TimeZoneFieldFormatter
Plugin implementation of the 'tzfield_date' formatter.

Namespace

Drupal\tzfield\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'format' => 'T',
  ] + parent::defaultSettings();
}