public static function BlockFieldItem::defaultFieldSettings in Block 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/ BlockFieldItem.php, line 31
Class
- BlockFieldItem
- Plugin implementation of the 'block_field' field type.
Namespace
Drupal\block_field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'selection' => 'blocks',
'selection_settings' => [],
] + parent::defaultFieldSettings();
}