PoDatabaseWriter::$options

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

An associative array indicating what data should be overwritten, if any.

Elements of the array:

  • overwrite_options

    • not_customized: boolean indicating that not customized strings should be overwritten.
    • customized: boolean indicating that customized strings should be overwritten.
  • customized: the strings being imported should be saved as customized. One of LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED.

Type: array

File

core/modules/locale/src/PoDatabaseWriter.php, line 29

Class

PoDatabaseWriter
Gettext PO writer 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.