You are here

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\FieldWidget

Code

public static function defaultSettings() {
  return [
    'disable_on_cart' => '',
    'qty_prices' => '0',
    'qty_price' => [
      [],
    ],
  ] + parent::defaultSettings();
}