You are here

public static function KeyValueLongItem::defaultFieldSettings in Key value field 8

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultFieldSettings

File

src/Plugin/Field/FieldType/KeyValueLongItem.php, line 42

Class

KeyValueLongItem
Plugin implementation of the 'key_value' field type.

Namespace

Drupal\key_value_field\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'default_format' => '',
  ] + parent::defaultFieldSettings();
}