function IdAuditor::auditMultiple

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Audit/IdAuditor.php \Drupal\migrate\Audit\IdAuditor::auditMultiple()
  2. 10 core/modules/migrate/src/Audit/IdAuditor.php \Drupal\migrate\Audit\IdAuditor::auditMultiple()
  3. 11.x core/modules/migrate/src/Audit/IdAuditor.php \Drupal\migrate\Audit\IdAuditor::auditMultiple()

Overrides AuditorInterface::auditMultiple

File

core/modules/migrate/src/Audit/IdAuditor.php, line 51

Class

IdAuditor
Audits migrations that create content entities in the destination system.

Namespace

Drupal\migrate\Audit

Code

public function auditMultiple(array $migrations) {
    $conflicts = [];
    foreach ($migrations as $migration) {
        $migration_id = $migration->getPluginId();
        $conflicts[$migration_id] = $this->audit($migration);
    }
    ksort($conflicts);
    return $conflicts;
}

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