PoDatabaseWriter::setReport

public PoDatabaseWriter::setReport($report = array())

Set the report array of write operations.

Parameters

array $report: Associative array with result information.

File

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

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

public function setReport($report = array()) {
  $report += array(
    'additions' => 0,
    'updates' => 0,
    'deletes' => 0,
    'skips' => 0,
    'strings' => array(),
  );
  $this->report = $report;
}
doc_Drupal
2016-10-29 09:34:27
Comments
Leave a Comment

Please login to continue.