function _i18n_test_variable_init in Internationalization 7
Same name and namespace in other branches
- 6 tests/i18n_test.module \_i18n_test_variable_init()
Set default multilingual variables and add any others defined by testing scripts
More variables can be added using 'i18n_variables_test';
1 call to _i18n_test_variable_init()
- i18n_test.module in tests/
i18n_test.module - Helper module for testing i18n
File
- tests/
i18n_test.module, line 24 - Helper module for testing i18n
Code
function _i18n_test_variable_init() {
global $conf;
$conf['i18n_variables'] = array_merge(array(
'site_name',
'site_frontpage',
), variable_get('i18n_variables_test', array()));
}