public static function MigrateProduct::getSubscribedEvents in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x src/EventSubscriber/MigrateProduct.php \Drupal\commerce_migrate\EventSubscriber\MigrateProduct::getSubscribedEvents()
- 3.0.x src/EventSubscriber/MigrateProduct.php \Drupal\commerce_migrate\EventSubscriber\MigrateProduct::getSubscribedEvents()
File
- src/
EventSubscriber/ MigrateProduct.php, line 20
Class
- MigrateProduct
- Handles product and product variation references.
Namespace
Drupal\commerce_migrate\EventSubscriberCode
public static function getSubscribedEvents() {
$events[MigrateEvents::PRE_ROW_DELETE][] = 'onPreRowDelete';
return $events;
}