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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.