You are here

public static function GoogleAdwordsText::defaultSettings in Google AdWords Conversion Tracking 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/GoogleAdwordsText.php, line 29
Contains \Drupal\google_adwords\Plugin\Field\FieldWidget\GoogleAdwordsText.

Class

GoogleAdwordsText
Plugin implementation of the 'google_adwords_text' widget.

Namespace

Drupal\google_adwords\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return array(
    'size' => 60,
    'placeholder' => 'Google AdWords tracking words',
  ) + parent::defaultSettings();
}