function _locale_translation_default_update_options
_locale_translation_default_update_options()
Returns default import options for translation update.
Return value
array Array of translation import options.
File
- core/modules/locale/locale.translation.inc, line 430
- Common API for interface translation.
Code
function _locale_translation_default_update_options() { $config = \Drupal::config('locale.settings'); return array( 'customized' => LOCALE_NOT_CUSTOMIZED, 'overwrite_options' => array( 'not_customized' => $config->get('translation.overwrite_not_customized'), 'customized' => $config->get('translation.overwrite_customized'), ), 'finish_feedback' => TRUE, 'use_remote' => locale_translation_use_remote_source(), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!locale!locale.translation.inc/function/_locale_translation_default_update_options/8.1.x