예제 #1
0
 /**
  * @return array
  */
 public function getBackordersOption()
 {
     if ($this->moduleManager->isEnabled('Magento_CatalogInventory')) {
         return $this->backorders->toOptionArray();
     }
     return [];
 }
예제 #2
0
 /**
  * @return array
  */
 public function getBackordersOption()
 {
     if ($this->catalogData->isModuleEnabled('Magento_CatalogInventory')) {
         return $this->backorders->toOptionArray();
     }
     return array();
 }
예제 #3
0
 /**
  * Retrieve Backorders Options
  *
  * @return array
  */
 public function getBackordersOption()
 {
     return $this->_backorders->toOptionArray();
 }