_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
1 2 3 4 5 6 7 8 9 10 11 12 | 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(), ); } |
Please login to continue.