You are here

public static function FaqFieldItem::defaultFieldSettings in FAQ Field 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Field/FieldType/FaqFieldItem.php \Drupal\faqfield\Plugin\Field\FieldType\FaqFieldItem::defaultFieldSettings()

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/FaqFieldItem.php, line 26

Class

FaqFieldItem
Plugin implementation of the 'faqfield' field type.

Namespace

Drupal\faqfield\Plugin\Field\FieldType

Code

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