function activity_enabled_languages in Activity 7
Same name and namespace in other branches
- 6.2 activity.module \activity_enabled_languages()
helper function to get the enabled languages
Return value
array array with the keys as the short id of the language (i.e. en)
1 call to activity_enabled_languages()
- ActivityActionHandler::messagesForm in ./
activity_action_handlers.inc - Display the token message form.
File
- ./
activity.module, line 551 - Records Activity across the site and surfaces that to Views.
Code
function activity_enabled_languages() {
$languages = language_list('enabled');
return $languages[1];
}