public static function TwigItem::defaultFieldSettings in Twig 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/ TwigItem.php, line 26
Class
- TwigItem
- Defines the Twig field type.
Namespace
Drupal\twig_field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'display_mode' => '',
];
}