You are here

public function AuditorInterface::audit in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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);