You are here

public static function SmsSendWidget::defaultSettings in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_sendtophone/src/Plugin/Field/FieldWidget/SmsSendWidget.php \Drupal\sms_sendtophone\Plugin\Field\FieldWidget\SmsSendWidget::defaultSettings()
  2. 2.1.x modules/sms_sendtophone/src/Plugin/Field/FieldWidget/SmsSendWidget.php \Drupal\sms_sendtophone\Plugin\Field\FieldWidget\SmsSendWidget::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

modules/sms_sendtophone/src/Plugin/Field/FieldWidget/SmsSendWidget.php, line 49

Class

SmsSendWidget
Plugin implementation of the 'sms_sendtophone' widget.

Namespace

Drupal\sms_sendtophone\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'rows' => 1,
  ];
}