3 namespace Drupal\migrate\Event;
5 use Drupal\migrate\Plugin\MigrationInterface;
6 use Drupal\migrate\MigrateMessageInterface;
7 use Drupal\migrate\Row;
10 * Wraps a pre-save event for event listeners.
12 class MigratePreRowSaveEvent extends EventBase {
17 * @var \Drupal\migrate\Row
22 * Constructs a pre-save event object.
24 * @param \Drupal\migrate\Plugin\MigrationInterface $migration
26 * @param \Drupal\migrate\MigrateMessageInterface $message
27 * The current migrate message service.
28 * @param \Drupal\migrate\Row $row
30 public function __construct(MigrationInterface $migration, MigrateMessageInterface $message, Row $row) {
31 parent::__construct($migration, $message);
36 * Gets the row object.
38 * @return \Drupal\migrate\Row
39 * The row object about to be imported.
41 public function getRow() {