public function PoDatabaseReader::setOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 80 - Contains \Drupal\locale\PoDatabaseReader.
Class
- PoDatabaseReader
- Gettext PO reader working with the locale module database.
Namespace
Drupal\localeCode
public function setOptions(array $options) {
$options += array(
'customized' => FALSE,
'not_customized' => FALSE,
'not_translated' => FALSE,
);
$this->options = $options;
}