You are here

public static function TweetbuttonWidget::defaultSettings in Tweet Button 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

lib/Drupal/tweetbutton/Plugin/Field/FieldWidget/TweetbuttonWidget.php, line 29
Contains \Drupal\tweetbutton\Plugin\Field\FieldWidget\TweetbuttonWidget.

Class

TweetbuttonWidget
Plugin implementation of the 'tweetbutton' widget.

Namespace

Drupal\tweetbutton\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return array(
    'display_label' => '',
  ) + parent::defaultSettings();
}