public static function TwitterEmbedWidget::defaultSettings in Twitter Embed 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/ TwitterEmbedWidget.php, line 26
Class
- TwitterEmbedWidget
- Plugin implementation of the 'twitter_timeline_widget' widget.
Namespace
Drupal\twitter_embed\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'size' => 60,
'placeholder' => '',
] + parent::defaultSettings();
}