You are here

public static function HtmlFormatterTrait::getHtmlFormatterDefaultSettings in HTML Formatter 8

Gets the default settings for the html formatter.

Return value

array

4 calls to HtmlFormatterTrait::getHtmlFormatterDefaultSettings()
HtmlFieldFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlFieldFormatter.php
Defines the default settings for this plugin.
HtmlFieldFormatterDateTime::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlFieldFormatterDateTime.php
Defines the default settings for this plugin.
HtmlFieldFormatterEntityReference::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlFieldFormatterEntityReference.php
Defines the default settings for this plugin.
HtmlFieldFormatterTimestamp::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlFieldFormatterTimestamp.php
Defines the default settings for this plugin.

File

src/Plugin/HtmlFormatterTrait.php, line 14

Class

HtmlFormatterTrait

Namespace

Drupal\html_formatter\Plugin

Code

public static function getHtmlFormatterDefaultSettings() {
  return [
    'tag' => '',
    'class' => '',
    'link' => FALSE,
  ];
}