function AuditorInterface::audit
Same name in other branches
- 9 core/modules/migrate/src/Audit/AuditorInterface.php \Drupal\migrate\Audit\AuditorInterface::audit()
- 8.9.x core/modules/migrate/src/Audit/AuditorInterface.php \Drupal\migrate\Audit\AuditorInterface::audit()
- 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\AuditCode
public function audit(MigrationInterface $migration);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.