final class LocalStockTransactionEvents in Commerce Stock 8
List of local stock transaction events.
Hierarchy
- class \Drupal\commerce_stock_local\Event\LocalStockTransactionEvents
Expanded class hierarchy of LocalStockTransactionEvents
3 files declare their use of LocalStockTransactionEvents
- CommerceLocalStockTransactionSubscriber.php in modules/
local_storage/ src/ EventSubscriber/ CommerceLocalStockTransactionSubscriber.php - CommerceStockTransactionSubscriber.php in modules/
local_storage/ tests/ modules/ commerce_stock_local_test/ src/ EventSubscriber/ CommerceStockTransactionSubscriber.php - LocalStockUpdater.php in modules/
local_storage/ src/ LocalStockUpdater.php
File
- modules/
local_storage/ src/ Event/ LocalStockTransactionEvents.php, line 8
Namespace
Drupal\commerce_stock_local\EventView source
final class LocalStockTransactionEvents {
/**
* Name of the event fired after loading a stock transaction.
*
* @Event
*
* @see \Drupal\commerce_stock_local\Event\LocalStockTransactionEvent
*/
const LOCAL_STOCK_TRANSACTION_LOAD = 'commerce_stock_local.stock_transaction.load';
/**
* Name of the event fired after creating a new stock transaction.
*
* Fired before the stock transaction is saved.
*
* @Event
*
* @see \Drupal\commerce_stock_local\Event\LocalStockTransactionEvent
*/
const LOCAL_STOCK_TRANSACTION_CREATE = 'commerce_stock_local.stock_transaction.create';
/**
* Name of the event fired after saving a new stock location.
*
* @Event
*
* @see \Drupal\commerce_stock_local\Event\LocalStockTransactionEvent
*/
const LOCAL_STOCK_TRANSACTION_INSERT = 'commerce_stock_local.stock_transaction.insert';
/**
* Name of the event fired before deleting a stock transaction.
*
* @Event
*
* @see \Drupal\commerce_stock_local\Event\LocalStockTransactionEvent
*/
const LOCAL_STOCK_TRANSACTION_PREDELETE = 'commerce_stock_local.stock_transaction.predelete';
/**
* Name of the event fired after deleting a stock location.
*
* @Event
*
* @see \Drupal\commerce_stock_local\Event\LocalStockTransactionEvent
*/
const LOCAL_STOCK_TRANSACTION_DELETE = 'commerce_stock_local.stock_transaction.delete';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LocalStockTransactionEvents:: |
constant | Name of the event fired after creating a new stock transaction. | ||
LocalStockTransactionEvents:: |
constant | Name of the event fired after deleting a stock location. | ||
LocalStockTransactionEvents:: |
constant | Name of the event fired after saving a new stock location. | ||
LocalStockTransactionEvents:: |
constant | Name of the event fired after loading a stock transaction. | ||
LocalStockTransactionEvents:: |
constant | Name of the event fired before deleting a stock transaction. |