public static function GridWidget::defaultSettings in Paragraphs grid 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/ GridWidget.php, line 117
Class
- GridWidget
- Plugin implementation of the 'grid_widget' widget.
Namespace
Drupal\paragraphs_grid\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'excluded_view_modes' => [
'preview',
],
] + parent::defaultSettings();
}