You are here

function i18n_taxonomy_autocomplete_language in Internationalization 7

Helper function for autocompletion. Select by language

1 string reference to 'i18n_taxonomy_autocomplete_language'
i18n_taxonomy_menu in i18n_taxonomy/i18n_taxonomy.module
Implements hook_menu().

File

i18n_taxonomy/i18n_taxonomy.pages.inc, line 85
Page callbacks for the taxonomy module, i18n remake.

Code

function i18n_taxonomy_autocomplete_language($langcode, $vocabulary, $tags_typed = '') {
  $vids = $vocabulary ? array(
    $vocabulary->vid,
  ) : NULL;
  return _i18n_taxonomy_autocomplete($langcode, $vids, $tags_typed);
}