You are here

function apachesolr_multilingual_language_list in Apache Solr Multilingual 7

Same name and namespace in other branches
  1. 6.3 apachesolr_multilingual.module \apachesolr_multilingual_language_list()

Wrapper for locale_language_list() to ensure an alphabetical order of languages. That's important for the spellcheck.

14 calls to apachesolr_multilingual_language_list()
apachesolr_multiligual_confgen_register_multilingual_variables in apachesolr_multilingual_confgen/apachesolr_multilingual_confgen.module
apachesolr_multilingual_apachesolr_field_name_map_alter in ./apachesolr_multilingual.module
Implements hook_apachesolr_field_name_map_alter().
apachesolr_multilingual_apachesolr_index_documents_alter in ./apachesolr_multilingual.module
Implements hook_apachesolr_index_documents_alter().
apachesolr_multilingual_apachesolr_query_alter in ./apachesolr_multilingual.module
Implements hook_apachesolr_modify_query().
apachesolr_multilingual_apachesolr_search_page_alter in ./apachesolr_multilingual.module
Modify the build array for any search output build by Apache Solr This includes core and custom pages and makes it very easy to modify both of them at once

... See full list

File

./apachesolr_multilingual.module, line 949
Multilingual search using Apache Solr.

Code

function apachesolr_multilingual_language_list() {
  $languages = locale_language_list();
  ksort($languages, SORT_ASC & SORT_STRING);
  return $languages;
}