Mercurial > hg > isophonics-drupal-site
comparison modules/contrib/migrate_plus/src/Event/MigrateEvents.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\migrate_plus\Event; | |
4 | |
5 /** | |
6 * Defines the row preparation event for the migration system. | |
7 * | |
8 * @see \Drupal\migrate\Event\MigratePrepareRowEvent | |
9 */ | |
10 final class MigrateEvents { | |
11 | |
12 /** | |
13 * Name of the event fired when preparing a source data row. | |
14 * | |
15 * This event allows modules to perform an action whenever the source plugin | |
16 * has read the inital source data into a Row object. Typically, this would be | |
17 * used to add data to the row, manipulate the data into a canonical form, or | |
18 * signal by exception that the row should be skipped. The event listener | |
19 * method receives a \Drupal\migrate_plus\Event\MigratePrepareRowEvent instance. | |
20 * | |
21 * @Event | |
22 * | |
23 * @see \Drupal\migrate_plus\Event\MigratePrepareRowEvent | |
24 * | |
25 * @var string | |
26 */ | |
27 const PREPARE_ROW = 'migrate_plus.prepare_row'; | |
28 | |
29 } |