final class PriceEvents in Commerce Core 8.2
Defines events for the price module.
Hierarchy
- class \Drupal\commerce_price\Event\PriceEvents
Expanded class hierarchy of PriceEvents
1 file declares its use of PriceEvents
- NumberFormatRepository.php in modules/
price/ src/ Repository/ NumberFormatRepository.php
File
- modules/
price/ src/ Event/ PriceEvents.php, line 8
Namespace
Drupal\commerce_price\EventView source
final class PriceEvents {
/**
* Name of the event fired when loading a number format.
*
* @Event
*
* @see \Drupal\commerce_price\Event\NumberFormatEvent
*
* @deprecated No longer fired. Subscribe to NUMBER_FORMAT instead.
*/
const NUMBER_FORMAT_LOAD = 'commerce_price.number_format.load';
/**
* Name of the event fired when altering a number format.
*
* @Event
*
* @see \Drupal\commerce_price\Event\NumberFormatDefinitionEvent
*/
const NUMBER_FORMAT = 'commerce_price.number_format';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PriceEvents:: |
constant | Name of the event fired when altering a number format. | ||
PriceEvents:: |
constant | Name of the event fired when loading a number format. |