MigrateUpgradeImportBatch
class MigrateUpgradeImportBatch (View source)
Runs a single migration batch.
Constants
| MESSAGE_LENGTH |
Maximum number of previous messages to display. |
Properties
| static protected int | $numProcessed | The processed items for one batch of a given migration. |
|
| static protected bool | $listenersAdded | Ensure we only add the listeners once per request. |
|
| static protected int | $maxExecTime | The maximum length in seconds to allow processing in a request. |
|
| static protected MigrateMessageCapture | $messages | MigrateMessage instance to capture messages during the migration process. |
|
| static protected MigrationInterface[] | $followUpMigrations | The follow-up migrations. |
Methods
Runs a single migrate batch import.
Callback executed when the Migrate Upgrade Import batch process completes.
Details
static
run(int[] $initial_ids, array $config, array $context)
Runs a single migrate batch import.
static
finished(bool $success, array $results, array $operations, string $elapsed)
Callback executed when the Migrate Upgrade Import batch process completes.
static
onPostRowSave(MigratePostRowSaveEvent $event)
Reacts to item import.
static
onPostImport(MigrateImportEvent $event)
Adds follow-up migrations.
static
onPostRowDelete(MigrateRowDeleteEvent $event)
Reacts to item deletion.
static
onMapSave(MigrateMapSaveEvent $event)
Counts up any map save events.
static
onMapDelete(MigrateMapDeleteEvent $event)
Counts up any map delete events.
static
onIdMapMessage(MigrateIdMapMessageEvent $event)
Displays any messages being logged to the ID map.