You are here

final class CommerceFedExEvents in Commerce FedEx 8

Defines events for the Commerce FedEx module.

Hierarchy

Expanded class hierarchy of CommerceFedExEvents

4 files declare their use of CommerceFedExEvents
CommerceFedExPacker.php in src/Packer/CommerceFedExPacker.php
FedEx.php in src/Plugin/Commerce/ShippingMethod/FedEx.php
FedExEventSubscriber.php in modules/dry_ice/src/EventSubscriber/FedExEventSubscriber.php
FedExEventSubscriber.php in modules/dangerous/src/EventSubscriber/FedExEventSubscriber.php

File

src/Event/CommerceFedExEvents.php, line 8

Namespace

Drupal\commerce_fedex\Event
View source
final class CommerceFedExEvents {

  /**
   * Name of the event fired to allow altering the rate request sent to FedEx.
   *
   * @Event
   *
   * @see \Drupal\commerce_fedex\Event\RateRequestEvent
   */
  const BEFORE_RATE_REQUEST = 'commerce_fedex.before_rate_request';

  /**
   * Name of the event fired when altering the packer order items.
   *
   * @todo Remove this event after it's rolled into commerce_shipping
   *
   * @Event
   *
   * @see \Drupal\commerce_fedex\Event\BeforePackEvent.php
   */
  const BEFORE_PACK = 'commerce_fedex.before_pack';

}

Members

Namesort descending Modifiers Type Description Overrides
CommerceFedExEvents::BEFORE_PACK constant Name of the event fired when altering the packer order items.
CommerceFedExEvents::BEFORE_RATE_REQUEST constant Name of the event fired to allow altering the rate request sent to FedEx.