You are here

public function FeedImportSQLHashes::insertCommit in Feed Import 8

Commits the insert to storage.

Overrides FeedImportHashManager::insertCommit

1 call to FeedImportSQLHashes::insertCommit()
FeedImportSQLHashes::insert in feed_import_base/src/FeedImportSQLHashes.php
Inserts a new hash.

File

feed_import_base/src/FeedImportSQLHashes.php, line 133

Class

FeedImportSQLHashes
This class implements SQL hash storage

Namespace

Drupal\feed_import_base

Code

public function insertCommit() {
  if ($this->toInsert) {
    $this->insert
      ->execute();
    $this->toInsert = 0;
  }
}