function locale_reset

Reset static variables used by locale().

2 calls to locale_reset()
LocaleTranslationFunctionalTest::testStringSearch in modules/locale/locale.test
Tests translation search form.
LocaleTranslationFunctionalTest::testStringTranslation in modules/locale/locale.test
Adds a language and tests string translation by users with the appropriate permissions.

File

modules/locale/locale.module, line 765

Code

function locale_reset() {
    drupal_static_reset('locale');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.