You are here

function ctools_language_list_all in Chaos Tool Suite (ctools) 7

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;
}