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
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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.