function locale_reset
7.x locale.module | locale_reset() |
Reset static variables used by locale().
2 calls to locale_reset()
- LocaleTranslationFunctionalTest::testStringSearch in drupal-7.x/
modules/ locale/ locale.test - Tests translation search form.
- LocaleTranslationFunctionalTest::testStringTranslation in drupal-7.x/
modules/ locale/ locale.test - Adds a language and tests string translation by users with the appropriate permissions.
File
- drupal-7.x/
modules/ locale/ locale.module, line 762 - Add language handling functionality and enables the translation of the user interface to languages other than English.
Code
function locale_reset() {
drupal_static_reset('locale');
}