public static function SimpleIframeWidgetType::defaultSettings in Simple iframe 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/ SimpleIframeWidgetType.php, line 25
Class
- SimpleIframeWidgetType
- Plugin implementation of the 'simple_iframe_widget_type' widget.
Namespace
Drupal\simple_iframe\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'size' => 100,
] + parent::defaultSettings();
}