public static function SocialMediaWidget::defaultSettings in Social media share 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/ SocialMediaWidget.php, line 26
Class
- SocialMediaWidget
- Plugin implementation of the 'social_media_default' widget.
Namespace
Drupal\social_media\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'display_label' => TRUE,
] + parent::defaultSettings();
}