function locale_test_init
Implements hook_init().
File
-
modules/
locale/ tests/ locale_test.module, line 33
Code
function locale_test_init() {
locale_test_store_language_negotiation();
if (isset($GLOBALS['language']) && isset($GLOBALS['language']->provider)) {
drupal_set_message(t('Language negotiation provider: @name', array(
'@name' => $GLOBALS['language']->provider,
)));
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.