function Drupali18nTestCase::initTheme in Internationalization 6
Reset theme to default so we can play with blocks
1 call to Drupali18nTestCase::initTheme()
- Drupali18nTestCase::setUp in tests/
drupal_i18n_test_case.php - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
File
- tests/
drupal_i18n_test_case.php, line 73
Class
- Drupali18nTestCase
- Test case for typical Drupal tests.
Code
function initTheme() {
global $theme, $theme_key;
unset($theme);
unset($theme_key);
init_theme();
_block_rehash();
}