public function AlwaysInStockService::getStockChecker in Commerce Stock 8
Gets the stock checker.
Return value
\Drupal\commerce_stock\StockCheckInterface The stock checker.
Overrides StockServiceInterface::getStockChecker
File
- src/
AlwaysInStockService.php, line 57
Class
- AlwaysInStockService
- A stock service for always in stock products.
Namespace
Drupal\commerce_stockCode
public function getStockChecker() {
return $this->stockChecker;
}