function i18nviews_disable in Internationalization Views 6.3
Same name and namespace in other branches
- 7.3 i18nviews.install \i18nviews_disable()
Implements hook_disable().
File
- ./
i18nviews.install, line 25 - Installation file for Internationalization Views (i18nviews) module.
Code
function i18nviews_disable() {
// disable i18nstrings as views translation method, switch to core
$plugin = variable_get('views_localization_plugin', 'core');
if ($plugin == 'i18nstrings') {
variable_set('views_localization_plugin', 'core');
}
}