You are here

public static function MigrateOrder::getSubscribedEvents in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/MigrateOrder.php \Drupal\commerce_migrate\EventSubscriber\MigrateOrder::getSubscribedEvents()
  2. 3.0.x src/EventSubscriber/MigrateOrder.php \Drupal\commerce_migrate\EventSubscriber\MigrateOrder::getSubscribedEvents()

File

src/EventSubscriber/MigrateOrder.php, line 20

Class

MigrateOrder
Handles order and order variation references.

Namespace

Drupal\commerce_migrate\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[MigrateEvents::PRE_ROW_DELETE][] = 'onPreRowDelete';
  return $events;
}