Révision 7e72b748
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/ctools/includes/language.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
/** |
|
4 |
* @file |
|
5 |
*/ |
|
6 |
|
|
3 | 7 |
/** |
4 | 8 |
* Returns array of language names. |
5 | 9 |
* |
... | ... | |
32 | 36 |
* Returns an array of language names similar to ctools_language_list() except |
33 | 37 |
* that additional choices have been added for ease of use. |
34 | 38 |
*/ |
35 |
|
|
36 | 39 |
function ctools_language_list_all() { |
37 | 40 |
$languages = array( |
38 | 41 |
'***CURRENT_LANGUAGE***' => t("Current user's language"), |
... | ... | |
41 | 44 |
); |
42 | 45 |
$languages = array_merge($languages, ctools_language_list()); |
43 | 46 |
return $languages; |
44 |
} |
|
47 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules