You are here

public static function CommerceLocalStockTransactionSubscriber::getSubscribedEvents in Commerce Stock 8

@inheritDoc

File

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

Class

CommerceLocalStockTransactionSubscriber
Test class to test the commerce_stock transaction events.

Namespace

Drupal\commerce_stock_local\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    LocalStockTransactionEvents::LOCAL_STOCK_TRANSACTION_INSERT => 'onTransactionInsert',
  ];
}