You are here

private property PoDatabaseWriter::$options in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::options
  2. 9 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;