1.20.x locale_test.module locale_test_init()

Implements hook_init().

File

modules/locale/tests/locale_test/locale_test.module, line 23
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)));
  }
}