You are here

public static function ListBase::defaultSettings in Double Field 8.3

Same name and namespace in other branches
  1. 4.x src/Plugin/Field/FieldFormatter/ListBase.php \Drupal\double_field\Plugin\Field\FieldFormatter\ListBase::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides Base::defaultSettings

1 call to ListBase::defaultSettings()
HtmlList::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlList.php
Defines the default settings for this plugin.
1 method overrides ListBase::defaultSettings()
HtmlList::defaultSettings in src/Plugin/Field/FieldFormatter/HtmlList.php
Defines the default settings for this plugin.

File

src/Plugin/Field/FieldFormatter/ListBase.php, line 15

Class

ListBase
Base class for list formatters.

Namespace

Drupal\double_field\Plugin\Field\FieldFormatter

Code

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