You are here

final class PriceEvents in Commerce Core 8.2

Defines events for the price module.

Hierarchy

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\Event
View 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

Namesort descending Modifiers Type Description Overrides
PriceEvents::NUMBER_FORMAT constant Name of the event fired when altering a number format.
PriceEvents::NUMBER_FORMAT_LOAD Deprecated constant Name of the event fired when loading a number format.