function Sql::errorCount

Returns the number of items that failed to import.

Return value

int The number of items that failed to import.

Overrides MigrateIdMapInterface::errorCount

File

core/modules/migrate/src/Plugin/migrate/id_map/Sql.php, line 801

Class

Sql
Defines the sql based ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

public function errorCount() {
  return $this->countHelper(MigrateIdMapInterface::STATUS_FAILED);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.