You are here

public function PoDatabaseWriter::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::__construct()

Constructor, initialize reporting array.

File

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

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

public function __construct() {
  $this
    ->setReport();
}