You are here

public function CommerceLocalStockTransactionSubscriber::__construct in Commerce Stock 8

Constructs a CommerceStockTransactionSubscriber.

Parameters

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.

File

modules/local_storage/src/EventSubscriber/CommerceLocalStockTransactionSubscriber.php, line 28

Class

CommerceLocalStockTransactionSubscriber
Test class to test the commerce_stock transaction events.

Namespace

Drupal\commerce_stock_local\EventSubscriber

Code

public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
}