locale_translation_default_translation_server()
Retrieve data for default server.
array Array of server parameters:
function locale_translation_default_translation_server() { $pattern = \Drupal::config('locale.settings')->get('translation.default_server_pattern'); // An additional check is required here. During the upgrade process // \Drupal::config()->get() returns NULL. We use the defined value as // fallback. $pattern = $pattern ? $pattern : LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN; return array( 'pattern' => $pattern, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!locale!locale.compare.inc/function/locale_translation_default_translation_server/8.1.x