You are here

final class MigrateEvents in Migrate Plus 8

Same name and namespace in other branches
  1. 8.5 src/Event/MigrateEvents.php \Drupal\migrate_plus\Event\MigrateEvents
  2. 8.2 src/Event/MigrateEvents.php \Drupal\migrate_plus\Event\MigrateEvents
  3. 8.3 src/Event/MigrateEvents.php \Drupal\migrate_plus\Event\MigrateEvents
  4. 8.4 src/Event/MigrateEvents.php \Drupal\migrate_plus\Event\MigrateEvents

Defines the row preparation event for the migration system.

Hierarchy

Expanded class hierarchy of MigrateEvents

See also

\Drupal\migrate\Event\MigratePrepareRowEvent

1 file declares its use of MigrateEvents
migrate_plus.module in ./migrate_plus.module
Provides enhancements for implementing and managing migrations.

File

src/Event/MigrateEvents.php, line 15
Contains Drupal\migrate_plus\Event\MigrateEvents.

Namespace

Drupal\migrate_plus\Event
View source
final class MigrateEvents {

  /**
   * Name of the event fired when preparing a source data row.
   *
   * This event allows modules to perform an action whenever the source plugin
   * has read the inital source data into a Row object. Typically, this would be
   * used to add data to the row, manipulate the data into a canonical form, or
   * signal by exception that the row should be skipped. The event listener
   * method receives a \Drupal\migrate_plus\Event\MigratePrepareRowEvent instance.
   *
   * @Event
   *
   * @see \Drupal\migrate_plus\Event\MigratePrepareRowEvent
   *
   * @var string
   */
  const PREPARE_ROW = 'migrate_plus.prepare_row';

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateEvents::PREPARE_ROW constant Name of the event fired when preparing a source data row.