You are here

final class CheckoutEvents in Commerce Core 8.2

Defines events for the checkout module.

Hierarchy

Expanded class hierarchy of CheckoutEvents

5 files declare their use of CheckoutEvents
CheckoutEventSubscriber.php in modules/log/src/EventSubscriber/CheckoutEventSubscriber.php
CheckoutFlowBase.php in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php
CheckoutIntegrationTest.php in modules/log/tests/src/Kernel/CheckoutIntegrationTest.php
CheckoutSubscriber.php in modules/checkout/tests/modules/commerce_checkout_test/src/EventSubscriber/CheckoutSubscriber.php
CompletionRegister.php in modules/checkout/src/Plugin/Commerce/CheckoutPane/CompletionRegister.php

File

modules/checkout/src/Event/CheckoutEvents.php, line 8

Namespace

Drupal\commerce_checkout\Event
View source
final class CheckoutEvents {

  /**
   * Name of the event fired when the customer completes checkout.
   *
   * @Event
   *
   * @see \Drupal\commerce_order\Event\OrderEvent
   */
  const COMPLETION = 'commerce_checkout.completion';

  /**
   * Name of the event fired when the customer registers at the end of checkout.
   *
   * @Event
   *
   * @see \Drupal\commerce_checkout\Event\CheckoutCompletionRegisterEvent
   */
  const COMPLETION_REGISTER = 'commerce_checkout.completion_register';

}

Members

Namesort descending Modifiers Type Description Overrides
CheckoutEvents::COMPLETION constant Name of the event fired when the customer completes checkout.
CheckoutEvents::COMPLETION_REGISTER constant Name of the event fired when the customer registers at the end of checkout.