You are here

function messaging_template_language_list in Messaging 6.4

Get list of available languages

1 call to messaging_template_language_list()
messaging_template_menu in messaging_template/messaging_template.module
Implementation of hook_menu()

File

messaging_template/messaging_template.module, line 393
Drupal Messaging Framework - Messaging template

Code

function messaging_template_language_list() {
  if (function_exists('locale_language_list')) {
    return locale_language_list();
  }
  else {
    $default = language_default();
    return array(
      $default->language => $default->name,
    );
  }
}