public function Sql::errorCount in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::errorCount()
Returns the number of items that failed to import.
Return value
int The number of items that errored out.
Overrides MigrateIdMapInterface::errorCount
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php, line 775
Class
- Sql
- Defines the sql based ID map implementation.
Namespace
Drupal\migrate\Plugin\migrate\id_mapCode
public function errorCount() {
return $this
->countHelper(MigrateIdMapInterface::STATUS_FAILED);
}