You are here

public function AuditResult::count in Drupal 8

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

Implements \Countable::count() for Twig template compatibility.

Return value

int

See also

\Drupal\Component\Render\MarkupInterface

File

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

Class

AuditResult
Encapsulates the result of a migration audit.

Namespace

Drupal\migrate\Audit

Code

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