function _simplemeta_langauge_list in Simple Meta 7
Get options for languages.
1 call to _simplemeta_langauge_list()
- simplemeta_meta_form in ./
simplemeta.module - SimpleMeta form builder.
File
- ./
simplemeta.module, line 744 - SimpleMeta module.
Code
function _simplemeta_langauge_list() {
$languages = language_list();
$options = array();
foreach ($languages as $language) {
$options[$language->language] = $language->name;
}
$options = array(
'' => t('- Language neutral -'),
) + $options;
return $options;
}