You are here

public static function SocialLinkNetworkNameFormatter::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/SocialLinkNetworkNameFormatter.php, line 24

Class

SocialLinkNetworkNameFormatter
Plugin implementation of the 'social_link_field' formatter.

Namespace

Drupal\social_link_field\Plugin\Field\FieldFormatter

Code

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