You are here

public static function FacebookCommentsFormatter::defaultSettings in Facebook Comments Social Plugin 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/FacebookCommentsFormatter.php, line 25

Class

FacebookCommentsFormatter
Plugin implementation of the 'facebook_comments' formatter.

Namespace

Drupal\facebook_comments\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'facebook_comments_style' => 'light',
    'facebook_comments_width' => 620,
    'facebook_comments_width_fluid' => 1,
    'facebook_comments_amount' => 15,
  ) + parent::defaultSettings();
}