PoDatabaseWriter::$report

Same name in other branches
  1. 9 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::report
  2. 10 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::report
  3. 11.x core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::report

Associative array summarizing the number of changes done.

Keys for the array:

  • additions: number of source strings newly added
  • updates: number of translations updated
  • deletes: number of translations deleted
  • skips: number of strings skipped due to disallowed HTML

Type: array

File

core/modules/locale/src/PoDatabaseWriter.php, line 56

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

private $report;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.