function views_get_localization_plugin

cis7 views.module views_get_localization_plugin()
cle7 views.module views_get_localization_plugin()
elmsmedia7 views.module views_get_localization_plugin()
icor7 views.module views_get_localization_plugin()
meedjum_blog7 views.module views_get_localization_plugin()
mooc7 views.module views_get_localization_plugin()

Load the current enabled localization plugin.

Return value

The name of the localization plugin.

2 calls to views_get_localization_plugin()
view::init_localization in sites/all/modules/ulmus/views/includes/view.inc
Find and initialize the localizer plugin.
views_ui_admin_settings_advanced in sites/all/modules/ulmus/views/includes/admin.inc
Form builder for the advanced admin settings page.

File

sites/all/modules/ulmus/views/views.module, line 1318
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_get_localization_plugin() {
  $plugin = variable_get('views_localization_plugin', '');
  // Provide sane default values for the localization plugin.
  if (empty($plugin)) {
    if (module_exists('locale')) {
      $plugin = 'core';
    }
    else {
      $plugin = 'none';
    }
  }

  return $plugin;
}