diff core/modules/locale/src/PoDatabaseWriter.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children af1871eacc83
line wrap: on
line diff
--- a/core/modules/locale/src/PoDatabaseWriter.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/core/modules/locale/src/PoDatabaseWriter.php	Tue Jul 10 15:07:59 2018 +0100
@@ -16,7 +16,7 @@
    * An associative array indicating what data should be overwritten, if any.
    *
    * Elements of the array:
-   * - override_options
+   * - overwrite_options
    *   - not_customized: boolean indicating that not customized strings should
    *     be overwritten.
    *   - customized: boolean indicating that customized strings should be
@@ -109,6 +109,16 @@
 
   /**
    * Set the options for the current writer.
+   *
+   * @param array $options
+   *   An associative array containing:
+   *   - overwrite_options: An array of options. Each option contains:
+   *     - 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.
    */
   public function setOptions(array $options) {
     if (!isset($options['overwrite_options'])) {