public function StockServiceInterface::getStockChecker in Commerce Stock 8
Gets the stock checker.
Return value
\Drupal\commerce_stock\StockCheckInterface The stock checker.
2 methods override StockServiceInterface::getStockChecker()
- AlwaysInStockService::getStockChecker in src/
AlwaysInStockService.php - Gets the stock checker.
- LocalStockService::getStockChecker in modules/
local_storage/ src/ LocalStockService.php - Gets the stock checker.
File
- src/
StockServiceInterface.php, line 26
Class
- StockServiceInterface
- Defines a common interface for stock checking.
Namespace
Drupal\commerce_stockCode
public function getStockChecker();