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