public function StockServiceInterface::getId in Commerce Stock 8
Gets the id of the service.
2 methods override StockServiceInterface::getId()
- AlwaysInStockService::getId in src/
AlwaysInStockService.php - Gets the id of the service.
- LocalStockService::getId in modules/
local_storage/ src/ LocalStockService.php - Get the ID of the service.
File
- src/
StockServiceInterface.php, line 18
Class
- StockServiceInterface
- Defines a common interface for stock checking.
Namespace
Drupal\commerce_stockCode
public function getId();