Drupal 8  8.0.2
MigrateEventsTest Class Reference
Inheritance diagram for MigrateEventsTest:

Public Member Functions

 mapSaveEventRecorder (MigrateMapSaveEvent $event, $name)
 
 mapDeleteEventRecorder (MigrateMapDeleteEvent $event, $name)
 
 preImportEventRecorder (MigrateImportEvent $event, $name)
 
 postImportEventRecorder (MigrateImportEvent $event, $name)
 
 preRowSaveEventRecorder (MigratePreRowSaveEvent $event, $name)
 
 postRowSaveEventRecorder (MigratePostRowSaveEvent $event, $name)
 

Static Public Attributes

static $modules = ['migrate', 'migrate_events_test']
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $state
 

Detailed Description

Tests events fired on migrations.

migrate

Member Function Documentation

mapDeleteEventRecorder ( MigrateMapDeleteEvent  $event,
  $name 
)

Reacts to map delete event.

Parameters
\Drupal\Migrate\Event\MigrateMapDeleteEvent$eventThe migration event.
string$nameThe event name.

References MigrateMapDeleteEvent\getMap(), MigrateMapDeleteEvent\getSourceId(), and Drupal\state().

Here is the call graph for this function:

mapSaveEventRecorder ( MigrateMapSaveEvent  $event,
  $name 
)

Reacts to map save event.

Parameters
\Drupal\Migrate\Event\MigrateMapSaveEvent$eventThe migration event.
string$nameThe event name.

References MigrateMapSaveEvent\getFields(), MigrateMapSaveEvent\getMap(), and Drupal\state().

Here is the call graph for this function:

postImportEventRecorder ( MigrateImportEvent  $event,
  $name 
)

Reacts to post-import event.

Parameters
\Drupal\Migrate\Event\MigrateImportEvent$eventThe migration event.
string$nameThe event name.

References MigrateImportEvent\getMigration(), and Drupal\state().

Here is the call graph for this function:

postRowSaveEventRecorder ( MigratePostRowSaveEvent  $event,
  $name 
)

Reacts to post-row-save event.

Parameters
\Drupal\Migrate\Event\MigratePostRowSaveEvent$eventThe migration event.
string$nameThe event name.

References MigratePostRowSaveEvent\getDestinationIdValues(), MigratePreRowSaveEvent\getMigration(), MigratePreRowSaveEvent\getRow(), and Drupal\state().

Here is the call graph for this function:

preImportEventRecorder ( MigrateImportEvent  $event,
  $name 
)

Reacts to pre-import event.

Parameters
\Drupal\Migrate\Event\MigrateImportEvent$eventThe migration event.
string$nameThe event name.

References MigrateImportEvent\getMigration(), and Drupal\state().

Here is the call graph for this function:

preRowSaveEventRecorder ( MigratePreRowSaveEvent  $event,
  $name 
)

Reacts to pre-row-save event.

Parameters
\Drupal\Migrate\Event\MigratePreRowSaveEvent$eventThe migration event.
string$nameThe event name.

References MigratePreRowSaveEvent\getMigration(), MigratePreRowSaveEvent\getRow(), and Drupal\state().

Here is the call graph for this function:

setUp ( )
protected

{}

References Drupal\service(), and Drupal\state().

Here is the call graph for this function:


The documentation for this class was generated from the following file: