PoDatabaseReader::$options

Same name in other branches
  1. 9 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::options
  2. 10 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::options
  3. 11.x core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::options

An associative array indicating which type of strings should be read.

Elements of the array:

  • not_customized: boolean indicating if not customized strings should be read.
  • customized: boolean indicating if customized strings should be read.
  • no_translated: boolean indicating if non-translated should be read.

The three options define three distinct sets of strings, which combined cover all strings.

Type: array

File

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

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

private $options;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.