You are here

public static function SkypeButtonFormatter::defaultSettings in Skype 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/SkypeButtonFormatter.php, line 47

Class

SkypeButtonFormatter
Plugin implementation of the 'skype_button' formatter.

Namespace

Drupal\skype\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'actions' => [
      'call',
      'chat',
    ],
    'image_color' => 'blue',
    'image_size' => 32,
  ] + parent::defaultSettings();
}