final class PromotionEvents in Commerce Core 8.2
Hierarchy
- class \Drupal\commerce_promotion\Event\PromotionEvents
Expanded class hierarchy of PromotionEvents
File
- modules/
promotion/ src/ Event/ PromotionEvents.php, line 5
Namespace
Drupal\commerce_promotion\EventView source
final class PromotionEvents {
/**
* Name of the event fired after loading a promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_LOAD = 'commerce_promotion.commerce_promotion.load';
/**
* Name of the event fired after creating a new promotion.
*
* Fired before the promotion is saved.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_CREATE = 'commerce_promotion.commerce_promotion.create';
/**
* Name of the event fired before saving a promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_PRESAVE = 'commerce_promotion.commerce_promotion.presave';
/**
* Name of the event fired after saving a new promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_INSERT = 'commerce_promotion.commerce_promotion.insert';
/**
* Name of the event fired after saving an existing promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_UPDATE = 'commerce_promotion.commerce_promotion.update';
/**
* Name of the event fired before deleting a promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_PREDELETE = 'commerce_promotion.commerce_promotion.predelete';
/**
* Name of the event fired after deleting a promotion.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_DELETE = 'commerce_promotion.commerce_promotion.delete';
/**
* Name of the event fired after saving a new promotion translation.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_TRANSLATION_INSERT = 'commerce_promotion.commerce_promotion.translation_insert';
/**
* Name of the event fired after deleting a promotion translation.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\PromotionEvent
*/
const PROMOTION_TRANSLATION_DELETE = 'commerce_promotion.commerce_promotion.translation_delete';
/**
* Name of the event fired after loading a coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_LOAD = 'commerce_promotion.commerce_promotion_coupon.load';
/**
* Name of the event fired after creating a new coupon.
*
* Fired before the coupon is saved.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_CREATE = 'commerce_promotion.commerce_promotion_coupon.create';
/**
* Name of the event fired before saving a coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_PRESAVE = 'commerce_promotion.commerce_promotion_coupon.presave';
/**
* Name of the event fired after saving a new coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_INSERT = 'commerce_promotion.commerce_promotion_coupon.insert';
/**
* Name of the event fired after saving an existing coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_UPDATE = 'commerce_promotion.commerce_promotion_coupon.update';
/**
* Name of the event fired before deleting a coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_PREDELETE = 'commerce_promotion.commerce_promotion_coupon.predelete';
/**
* Name of the event fired after deleting a coupon.
*
* @Event
*
* @see \Drupal\commerce_promotion\Event\CouponEvent
*/
const COUPON_DELETE = 'commerce_promotion.commerce_promotion_coupon.delete';
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PromotionEvents:: |
constant | Name of the event fired after creating a new coupon. | ||
PromotionEvents:: |
constant | Name of the event fired after deleting a coupon. | ||
PromotionEvents:: |
constant | Name of the event fired after saving a new coupon. | ||
PromotionEvents:: |
constant | Name of the event fired after loading a coupon. | ||
PromotionEvents:: |
constant | Name of the event fired before deleting a coupon. | ||
PromotionEvents:: |
constant | Name of the event fired before saving a coupon. | ||
PromotionEvents:: |
constant | Name of the event fired after saving an existing coupon. | ||
PromotionEvents:: |
constant | Name of the event fired after creating a new promotion. | ||
PromotionEvents:: |
constant | Name of the event fired after deleting a promotion. | ||
PromotionEvents:: |
constant | Name of the event fired after saving a new promotion. | ||
PromotionEvents:: |
constant | Name of the event fired after loading a promotion. | ||
PromotionEvents:: |
constant | Name of the event fired before deleting a promotion. | ||
PromotionEvents:: |
constant | Name of the event fired before saving a promotion. | ||
PromotionEvents:: |
constant | Name of the event fired after deleting a promotion translation. | ||
PromotionEvents:: |
constant | Name of the event fired after saving a new promotion translation. | ||
PromotionEvents:: |
constant | Name of the event fired after saving an existing promotion. |