You are here

public static function TwitterTimelineFormatter::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/TwitterTimelineFormatter.php, line 33

Class

TwitterTimelineFormatter
Plugin implementation of the 'twitter_timeline_formatter' formatter.

Namespace

Drupal\twitter_embed\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return TwitterTimelineWidget::getDefaultSettings() + parent::defaultSettings();
}