Backorders
Magento\CatalogInventory\Model\Source\Backorders
What it does
This source model provides the available backorder options for product inventory configuration in Magento 2.
Developers use this class to populate dropdown selections in admin forms where merchants can configure whether to allow orders when products are out of stock, with or without customer notification.
It's commonly used in inventory settings but is deprecated in favor of the Multi Source Inventory (MSI) system.
Public Methods
- toOptionArray()