function ctools_language_list_all
Returns an array of language names similar to ctools_language_list() except that additional choices have been added for ease of use.
File
-
includes/
language.inc, line 39
Code
function ctools_language_list_all() {
$languages = array(
'***CURRENT_LANGUAGE***' => t("Current user's language"),
'***DEFAULT_LANGUAGE***' => t("Default site language"),
LANGUAGE_NONE => t('Language neutral'),
);
$languages = array_merge($languages, ctools_language_list());
return $languages;
}