You are here

public static function Details::defaultSettings in Double Field 8.3

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

Defines the default settings for this plugin.

Return value

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

Overrides Base::defaultSettings

File

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

Class

Details
Plugin implementations for 'details' formatter.

Namespace

Drupal\double_field\Plugin\Field\FieldFormatter

Code

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