You are here

public static function TwitterEmbedFormatter::defaultSettings in Media entity Twitter 8.2

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/TwitterEmbedFormatter.php, line 27

Class

TwitterEmbedFormatter
Plugin implementation of the 'twitter_embed' formatter.

Namespace

Drupal\media_entity_twitter\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings['conversation'] = FALSE;
  return $settings;
}