You are here

function l10n_update_l10n_servers in Localization update 7

Same name and namespace in other branches
  1. 6 l10n_update.module \l10n_update_l10n_servers()

Implements hook_l10n_servers().

Return value

array Array of server data: 'name' => server name 'server_url' => server url 'update_url' => update url

File

./l10n_update.module, line 378
Download translations from remote localization server.

Code

function l10n_update_l10n_servers() {
  module_load_include('inc', 'l10n_update');
  $server = l10n_update_default_server();
  return array(
    $server['name'] => $server,
  );
}