function install_import_locales_remaining
install_import_locales_remaining(&$install_state)
Installation task; import remaining languages via a batch process.
Parameters
$install_state: An array of information about the current installation state.
Return value
The batch definition, if there are language files to import.
File
- includes/install.core.inc, line 1547
- API functions for installing Drupal.
Code
function install_import_locales_remaining(&$install_state) { include_once DRUPAL_ROOT . '/includes/locale.inc'; // Collect files to import for this language. Skip components already covered // in the initial batch set. $install_locale = $install_state['parameters']['locale']; $batch = locale_batch_by_language($install_locale, NULL, variable_get('install_locale_batch_components', array())); // Remove temporary variable. variable_del('install_locale_batch_components'); return $batch; }
© 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/includes!install.core.inc/function/install_import_locales_remaining/7.x