You are here

public static function SocialLinkFontAwesomeFormatter::defaultSettings in Social Link Field 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides SocialLinkBaseFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/SocialLinkFontAwesomeFormatter.php, line 24

Class

SocialLinkFontAwesomeFormatter
Plugin implementation of the 'social_link_field' formatter.

Namespace

Drupal\social_link_field\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'icon_type' => 'common',
    'orientation' => 'vertical',
  ] + parent::defaultSettings();
}