public function Table::__destruct in Migrate Plus 8.5
Make absolutely sure batched inserts are processed (especially for stubs).
File
- src/
Plugin/ migrate/ destination/ Table.php, line 303
Class
- Table
- Provides table destination plugin.
Namespace
Drupal\migrate_plus\Plugin\migrate\destinationCode
public function __destruct() {
// At the conclusion of a given migration, make sure batched inserts go in.
$this
->flushInserts();
}