function ckeditor_link_get_languages

cis7 ckeditor_link.module ckeditor_link_get_languages()
cle7 ckeditor_link.module ckeditor_link_get_languages()
elmsmedia7 ckeditor_link.module ckeditor_link_get_languages()
icor7 ckeditor_link.module ckeditor_link_get_languages()
meedjum_blog7 ckeditor_link.module ckeditor_link_get_languages()
mooc7 ckeditor_link.module ckeditor_link_get_languages()
5 calls to ckeditor_link_get_languages()
ckeditor_link_ckeditor_link_node_url in sites/all/modules/ulmus/ckeditor_link/includes/ckeditor_link.node.inc
Implementation of hook_ckeditor_link_TYPE_url().
ckeditor_link_ckeditor_link_taxonomy_url in sites/all/modules/ulmus/ckeditor_link/includes/ckeditor_link.taxonomy.inc
Implementation of hook_ckeditor_link_TYPE_url().
ckeditor_link_path_prefix_language in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module
ckeditor_link_path_strip_language in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module
ckeditor_link_url in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module

File

sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module, line 299
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() && language_negotiation_get_any(LOCALE_LANGUAGE_NEGOTIATION_URL)) {
      $languages = language_list('enabled');
      $languages = $languages[1];
    }
  }

  return $languages;
}