Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AuditResult.php

function 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() : int {
    return count($this->reasons);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal