function AuditResult::jsonSerialize
Same name in other branches
- 9 core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::jsonSerialize()
- 10 core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::jsonSerialize()
- 11.x 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\AuditCode
public function jsonSerialize() {
return $this->reasons;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.