Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN
Same name and namespace in other branches
- 11.x core/lib/Drupal.php \Drupal::TRANSLATION_DEFAULT_SERVER_PATTERN
Default location of gettext file on the translation server.
5 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.
- LocaleFetch::batchStatusCheck in core/
modules/ locale/ src/ LocaleFetch.php - Implements callback_batch_operation().
- LocaleProjectRepository::buildProjects in core/
modules/ locale/ src/ LocaleProjectRepository.php - Builds a list of projects and stores the result in the database.
- LocaleTranslatableProject::createFromArray in core/
modules/ locale/ src/ LocaleTranslatableProject.php - Creates a new instance from an array.
- locale_translation_default_translation_server in core/
modules/ locale/ locale.compare.inc - Retrieve data for default server.
File
-
core/
lib/ Drupal.php, line 140
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.