function install_update_configuration_translations

Creates configuration translations.

Parameters

array $install_state: An array of information about the current installation state.

Return value

array The batch definition, if there are configuration objects to update.

See also

install_tasks()

File

drupal/core/includes/install.core.inc, line 1919
API functions for installing Drupal.

Code

function install_update_configuration_translations(&$install_state) {
  Drupal::moduleHandler()
    ->loadInclude('locale', 'bulk.inc');
  return locale_config_batch_update_components(array(), array(
    $install_state['parameters']['langcode'],
  ));
}