Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN

Same name and namespace in other branches
  1. 11.x core/lib/Drupal.php \Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN

Default location of gettext file on the translation server.

See also

locale_translation_default_translation_server()

3 uses of Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN
install_state_defaults in core/includes/install.core.inc
Returns an array of default settings for the global installation state.
locale_translation_batch_status_check in core/modules/locale/locale.batch.inc
Implements callback_batch_operation().
locale_translation_default_translation_server in core/modules/locale/locale.compare.inc
Retrieve data for default server.

File

core/lib/Drupal.php, line 142

Class

Drupal
Static Service Container wrapper.

Code

const TRANSLATION_DEFAULT_SERVER_PATTERN = 'https://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.