
| Current Path : /var/www/html/vendor/drush/drush/src/Drupal/Migrate/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/vendor/drush/drush/src/Drupal/Migrate/MigrateEvents.php |
<?php
namespace Drush\Drupal\Migrate;
/**
* Defines the row preparation event for the migration system.
*
* @see \Drush\Drupal\Migrate\MigratePrepareRowEvent
*/
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 initial 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 \Drush\Drupal\Migrate\MigratePrepareRowEvent
* instance.
*
* @Event
*
* @var string
*
* @todo Deprecate this event when #2952291 lands.
*
* @see https://www.drupal.org/project/drupal/issues/2952291
* @see \Drush\Drupal\Migrate\MigratePrepareRowEvent
*/
const DRUSH_MIGRATE_PREPARE_ROW = 'drush.migrate_runner.prepare_row';
}