public static function SmartDateTimezoneWidget::defaultSettings in Smart Date 8.2
Same name and namespace in other branches
- 3.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
- 3.0.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
- 3.1.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
- 3.2.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
- 3.3.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
- 3.4.x src/Plugin/Field/FieldWidget/SmartDateTimezoneWidget.php \Drupal\smart_date\Plugin\Field\FieldWidget\SmartDateTimezoneWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides SmartDateDefaultWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ SmartDateTimezoneWidget.php, line 25
Class
- SmartDateTimezoneWidget
- Plugin implementation of the 'smartdate_timezone' widget.
Namespace
Drupal\smart_date\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'default_tz' => '',
'custom_tz' => '',
] + parent::defaultSettings();
}