You are here

public static function HtmlFieldFormatterDateTime::defaultSettings in HTML Formatter 8

Defines the default settings for this plugin.

Return value

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

Overrides DateTimeDefaultFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/HtmlFieldFormatterDateTime.php, line 29

Class

HtmlFieldFormatterDateTime
Plugin implementation of the 'datetime' html field formatter.

Namespace

Drupal\html_formatter\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return HtmlFormatterTrait::getHtmlFormatterDefaultSettings() + parent::defaultSettings();
}