service commerce_stock.service_manager in Commerce Stock 8
Class
Drupal\commerce_stock\StockServiceManagerTags
- service_collector
21 string references to commerce_stock.service_manager
- commerce_stock_enforcement_get_stock_level in modules/
enforcement/ commerce_stock_enforcement.module - Get the available stock level for the PurchasableEntity.
- EnforcementBrowserTest::setUp in modules/
enforcement/ tests/ src/ Functional/ EnforcementBrowserTest.php - LocalStockUpdaterTest::setUp in modules/
local_storage/ tests/ src/ Kernel/ LocalStockUpdaterTest.php - OrderEventsTransactionsTest::setUp in modules/
local_storage/ tests/ src/ Kernel/ OrderEventsTransactionsTest.php - OrderEventTransactionsKernelTest::setUp in modules/
local_storage/ tests/ src/ Kernel/ OrderEventTransactionsKernelTest.php
File
View source
- class: Drupal\commerce_stock\StockServiceManager
- tags:
- - { name: service_collector, tag: commerce_stock.stock_service, call: addService }
- arguments:
- - '@config.factory'
- - '@commerce_store.current_store'
- - '@current_user'