public function StockServiceManagerInterface::addService in Commerce Stock 8
Adds a Stock service.
Parameters
\Drupal\commerce_stock\StockServiceInterface $stock_service: The stock service.
1 method overrides StockServiceManagerInterface::addService()
- StockServiceManager::addService in src/
StockServiceManager.php - Adds a Stock service.
File
- src/
StockServiceManagerInterface.php, line 18
Class
- StockServiceManagerInterface
- The stock service manager interface.
Namespace
Drupal\commerce_stockCode
public function addService(StockServiceInterface $stock_service);