public static function BlockFieldWidget::defaultSettings in Block field 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ BlockFieldWidget.php, line 83
Class
- BlockFieldWidget
- Plugin implementation of the 'block_field' widget.
Namespace
Drupal\block_field\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'plugin_id' => '',
'settings' => [],
'configuration_form' => 'full',
] + parent::defaultSettings();
}