public static function YouTubeDefaultWidget::defaultSettings in YouTube 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/ YouTubeDefaultWidget.php, line 25
Class
- YouTubeDefaultWidget
- Plugin implementation of the 'youtube_default' widget.
Namespace
Drupal\youtube\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'placeholder_url' => '',
] + parent::defaultSettings();
}