function AuditorInterface::audit

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

Audits a migration.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration to audit.

Return value

\Drupal\migrate\Audit\AuditResult The result of the audit.

Throws

\Drupal\migrate\Audit\AuditException If the audit fails.

1 method overrides AuditorInterface::audit()
IdAuditor::audit in core/modules/migrate/src/Audit/IdAuditor.php
Audits a migration.

File

core/modules/migrate/src/Audit/AuditorInterface.php, line 29

Class

AuditorInterface
Defines an interface for migration auditors.

Namespace

Drupal\migrate\Audit

Code

public function audit(MigrationInterface $migration);

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