11 January 2012

How to get all active languages as array in Drupal 7.

Source code viewer
  1. $languages = array_keys(language_list());
  2.  
  3. // result: array('en', 'et', 'ru')
Programming Language: PHP