1 locale_test.module locale_test_init()

Implements hook_init().

File

core/modules/locale/tests/locale_test/locale_test.module, line 22
Mock module for locale layer tests.

Code

function locale_test_init() {
  locale_test_store_language_negotiation();
  if (isset($GLOBALS['language']) && isset($GLOBALS['language']->provider)) {
    backdrop_set_message(t('Language negotiation provider: @name', array('@name' => $GLOBALS['language']->provider)));
  }
}