You are here

public static function XquantityStockItem::defaultFieldSettings in Commerce Extended Quantity 8

File

modules/xquantity_stock/src/Plugin/Field/FieldType/XquantityStockItem.php, line 27

Class

XquantityStockItem
Defines the 'xquantity_stock' field type.

Namespace

Drupal\xquantity_stock\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'threshold' => '1800',
  ] + parent::defaultFieldSettings();
}