PoDatabaseReader::setOptions

public PoDatabaseReader::setOptions(array $options)

Set the options for the current reader.

File

core/modules/locale/src/PoDatabaseReader.php, line 75

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

public function setOptions(array $options) {
  $options += array(
    'customized' => FALSE,
    'not_customized' => FALSE,
    'not_translated' => FALSE,
  );
  $this->options = $options;
}
doc_Drupal
2016-10-29 09:34:24
Comments
Leave a Comment

Please login to continue.