1 translation.test TranslationTestCase::resetCaches()

Resets static caches to make the test code match the client-side behavior.

File

core/modules/translation/tests/translation.test, line 265
Tests for the Translation module.

Class

TranslationTestCase
Functional tests for the Translation module.

Code

function resetCaches() {
  backdrop_static_reset('language_list');
  backdrop_static_reset('locale_url_outbound_alter');
  backdrop_static_reset('locale_language_url_rewrite_url');
}