public static function TwitterButtonFormatter::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/ FieldFormatter/ TwitterButtonFormatter.php, line 33
Class
- TwitterButtonFormatter
- Plugin implementation of the 'twitter_button_formatter' formatter.
Namespace
Drupal\twitter_embed\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return TwitterButtonWidget::getDefaultSettings() + parent::defaultSettings();
}