public PoDatabaseWriter::setOptions(array $options)
Set the options for the current writer.
File
- core/modules/locale/src/PoDatabaseWriter.php, line 113
Class
- PoDatabaseWriter
- Gettext PO writer working with the locale module database.
Namespace
Drupal\locale
Code
public function setOptions(array $options) {
if (!isset($options['overwrite_options'])) {
$options['overwrite_options'] = array();
}
$options['overwrite_options'] += array(
'not_customized' => FALSE,
'customized' => FALSE,
);
$options += array(
'customized' => LOCALE_NOT_CUSTOMIZED,
);
$this->options = $options;
}
Please login to continue.