You are here

public function AuditResult::jsonSerialize in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::jsonSerialize()

Returns the reasons the migration passed or failed, for JSON serialization.

Return value

string[]

File

core/modules/migrate/src/Audit/AuditResult.php, line 142

Class

AuditResult
Encapsulates the result of a migration audit.

Namespace

Drupal\migrate\Audit

Code

public function jsonSerialize() {
  return $this->reasons;
}