public static function XquantityWidget::defaultSettings in Commerce Extended Quantity 8
File
- src/
Plugin/ Field/ FieldWidget/ XquantityWidget.php, line 18
Class
- XquantityWidget
- Overrides the 'xnumber' widget.
Namespace
Drupal\commerce_xquantity\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'disable_on_cart' => '',
'qty_prices' => '0',
'qty_price' => [
[],
],
] + parent::defaultSettings();
}