public function PoDatabaseReader::setOptions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::setOptions()
Set the options for the current reader.
1 call to PoDatabaseReader::setOptions()
- PoDatabaseReader::__construct in core/
modules/ locale/ src/ PoDatabaseReader.php - Constructor, initializes with default options.
File
- core/
modules/ locale/ src/ PoDatabaseReader.php, line 75
Class
- PoDatabaseReader
- Gettext PO reader working with the locale module database.
Namespace
Drupal\localeCode
public function setOptions(array $options) {
$options += [
'customized' => FALSE,
'not_customized' => FALSE,
'not_translated' => FALSE,
];
$this->options = $options;
}