You are here

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

Same name in this branch
  1. 3.1.x modules/magento/src/EventSubscriber/PreRowSave.php \Drupal\commerce_migrate_magento\EventSubscriber\PreRowSave::getSubscribedEvents()
  2. 3.1.x modules/ubercart/src/EventSubscriber/PreRowSave.php \Drupal\commerce_migrate_ubercart\EventSubscriber\PreRowSave::getSubscribedEvents()
Same name and namespace in other branches
  1. 8.2 modules/ubercart/src/EventSubscriber/PreRowSave.php \Drupal\commerce_migrate_ubercart\EventSubscriber\PreRowSave::getSubscribedEvents()
  2. 3.0.x modules/ubercart/src/EventSubscriber/PreRowSave.php \Drupal\commerce_migrate_ubercart\EventSubscriber\PreRowSave::getSubscribedEvents()

File

modules/ubercart/src/EventSubscriber/PreRowSave.php, line 21

Class

PreRowSave
Handles order and order variation references.

Namespace

Drupal\commerce_migrate_ubercart\EventSubscriber

Code

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