You are here

function i18n_select_langcodes in Internationalization 7

Get language codes for content selection to use in query conditions

2 calls to i18n_select_langcodes()
i18n_select_query_node_access_alter in i18n_select/i18n_select.module
Implementation of hook_query_node_access_alter().
i18n_select_query_term_access_alter in i18n_select/i18n_select.module
Implementation of hook_query_term_access_alter().

File

i18n_select/i18n_select.module, line 314
Multilingual content selection module.

Code

function i18n_select_langcodes() {
  return array(
    i18n_select_language()->language,
    LANGUAGE_NONE,
  );
}