final class PriceEvents in Price 8
Same name and namespace in other branches
- 3.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
- 2.0.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
- 2.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
- 3.0.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
Defines events for the price module.
Hierarchy
- class \Drupal\price\Event\PriceEvents
Expanded class hierarchy of PriceEvents
1 file declares its use of PriceEvents
- NumberFormatRepository.php in src/
Repository/ NumberFormatRepository.php
File
- src/
Event/ PriceEvents.php, line 8
Namespace
Drupal\price\EventView source
final class PriceEvents {
/**
* Name of the event fired when loading a number format.
*
* @deprecated No longer fired. Subscribe to NUMBER_FORMAT instead.
*
* @Event
*
* @see \Drupal\price\Event\NumberFormatEvent
*/
const NUMBER_FORMAT_LOAD = 'price.number_format.load';
/**
* Name of the event fired when altering a number format.
*
* @Event
*
* @see \Drupal\price\Event\NumberFormatDefinitionEvent
*/
const NUMBER_FORMAT = '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. |