public static function MarkupItem::defaultFieldSettings in Markup 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/ MarkupItem.php, line 51
Class
- MarkupItem
- Plugin implementation of the 'markup' field type.
Namespace
Drupal\markup\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'markup' => [
'value' => '',
'format' => '',
],
];
}