function locale_translation_default_translation_server

Retrieve data for default server.

Return value

array Array of server parameters:

  • "server_pattern": URL containing po file pattern.
1 call to locale_translation_default_translation_server()
locale_translation_build_projects in drupal/core/modules/locale/locale.compare.inc
Builds list of projects and stores the result in the database.

File

drupal/core/modules/locale/locale.compare.inc, line 265
The API for comparing project translation status with available translation.

Code

function locale_translation_default_translation_server() {
  $config = config('locale.settings');
  return array(
    'pattern' => $config
      ->get('translation.default_server_pattern'),
  );
}