You are here

public static function SmsSendWidget::defaultSettings in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 modules/sms_sendtophone/src/Plugin/Field/FieldWidget/SmsSendWidget.php \Drupal\sms_sendtophone\Plugin\Field\FieldWidget\SmsSendWidget::defaultSettings()
  2. 2.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 51

Class

SmsSendWidget
Plugin implementation of the 'sms_sendtophone' widget.

Namespace

Drupal\sms_sendtophone\Plugin\Field\FieldWidget

Code

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