function ckeditor_link_get_languages in CKEditor Link 7.2
Same name and namespace in other branches
- 6.2 ckeditor_link.module \ckeditor_link_get_languages()
5 calls to ckeditor_link_get_languages()
- ckeditor_link_ckeditor_link_node_url in includes/
ckeditor_link.node.inc - Implementation of hook_ckeditor_link_TYPE_url().
- ckeditor_link_ckeditor_link_taxonomy_url in includes/
ckeditor_link.taxonomy.inc - Implementation of hook_ckeditor_link_TYPE_url().
- ckeditor_link_path_prefix_language in ./
ckeditor_link.module - ckeditor_link_path_strip_language in ./
ckeditor_link.module - ckeditor_link_url in ./
ckeditor_link.module
File
- ./
ckeditor_link.module, line 314 - Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr
Code
function ckeditor_link_get_languages() {
static $languages;
if (!isset($languages)) {
$languages = FALSE;
if (drupal_multilingual() && module_exists('locale') && language_negotiation_get_any(LOCALE_LANGUAGE_NEGOTIATION_URL)) {
$languages = language_list('enabled');
$languages = $languages[1];
}
}
return $languages;
}