You are here

final class PriceEvents in Price 8

Same name and namespace in other branches
  1. 3.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
  2. 2.0.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
  3. 2.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents
  4. 3.0.x src/Event/PriceEvents.php \Drupal\price\Event\PriceEvents

Defines events for the price module.

Hierarchy

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

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.