function AuditResult::__toString
Same name in other branches
- 8.9.x core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::__toString()
- 10 core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::__toString()
- 11.x core/modules/migrate/src/Audit/AuditResult.php \Drupal\migrate\Audit\AuditResult::__toString()
Returns the reasons the migration passed or failed, as a string.
Return value
string
Overrides MarkupInterface::__toString
See also
\Drupal\Component\Render\MarkupInterface
File
-
core/
modules/ migrate/ src/ Audit/ AuditResult.php, line 134
Class
- AuditResult
- Encapsulates the result of a migration audit.
Namespace
Drupal\migrate\AuditCode
public function __toString() {
return implode("\n", $this->reasons);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.