function ckeditor_link_url in CKEditor Link 6.2
Same name and namespace in other branches
- 7.2 ckeditor_link.module \ckeditor_link_url()
2 calls to ckeditor_link_url()
- 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().
File
- ./
ckeditor_link.module, line 329 - Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr
Code
function ckeditor_link_url($path = NULL, $langcode) {
$options = array();
if (!empty($langcode)) {
$languages = ckeditor_link_get_languages();
if ($languages && isset($languages[$langcode])) {
$options['language'] = $languages[$langcode];
}
}
return url($path, $options);
}