function PoMemoryWriter::__construct
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::__construct()
- 10 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::__construct()
- 11.x core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::__construct()
Constructor, initialize empty items.
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoMemoryWriter.php, line 20
Class
- PoMemoryWriter
- Defines a Gettext PO memory writer, to be used by the installer.
Namespace
Drupal\Component\GettextCode
public function __construct() {
$this->items = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.