You are here

public static function SocialLinkWidget::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 PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldWidget/SocialLinkWidget.php, line 91

Class

SocialLinkWidget
Plugin implementation of the 'open_hours' widget.

Namespace

Drupal\social_link_field\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'select_social' => FALSE,
    'disable_weight' => FALSE,
  ] + parent::defaultSettings();
}