You are here

public static function LikeDislikeFormatter::defaultSettings in Like/Dislike 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/LikeDislikeFormatter.php, line 90

Class

LikeDislikeFormatter
Plugin implementation of the 'like_dislike_formatter' formatter.

Namespace

Drupal\like_dislike\Plugin\Field\FieldFormatter

Code

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