You are here

public static function HtmlFieldFormatterEntityReference::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 EntityReferenceLabelFormatter::defaultSettings

File

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

Class

HtmlFieldFormatterEntityReference
Plugin implementation of the 'entity reference label' html field formatter.

Namespace

Drupal\html_formatter\Plugin\Field\FieldFormatter

Code

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