You are here

public function Table::postImport in Migrate Plus 8.5

Performs post-import tasks.

Parameters

\Drupal\migrate\Event\MigrateImportEvent $event: The post-import event object.

Overrides ImportAwareInterface::postImport

File

src/Plugin/migrate/destination/Table.php, line 295

Class

Table
Provides table destination plugin.

Namespace

Drupal\migrate_plus\Plugin\migrate\destination

Code

public function postImport(MigrateImportEvent $event) {

  // At the conclusion of a given migration, make sure batched inserts go in.
  $this
    ->flushInserts();
}