Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Backorders.php
Go to the documentation of this file.
1 <?php
7 
18 {
22  public function toOptionArray()
23  {
24  return [
25  ['value' => \Magento\CatalogInventory\Model\Stock::BACKORDERS_NO, 'label' => __('No Backorders')],
26  [
28  'label' => __('Allow Qty Below 0')
29  ],
30  [
32  'label' => __('Allow Qty Below 0 and Notify Customer')
33  ]
34  ];
35  }
36 }
__()
Definition: __.php:13