You are here

public static function HtmlList::defaultSettings in Double Field 4.x

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

Defines the default settings for this plugin.

Return value

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

Overrides ListBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/HtmlList.php, line 22

Class

HtmlList
Plugin implementations for 'html_list' formatter.

Namespace

Drupal\double_field\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() : array {
  return [
    'list_type' => 'ul',
  ] + parent::defaultSettings();
}