1 admin_bar.theme.inc | theme_admin_bar_icon_locale($variables) |
- Renders a language icon to display in the administration bar.
*
Related topics
File
- core/
modules/ admin_bar/ admin_bar.theme.inc, line 30 - Theme functions for the Admin Bar module.
Code
function theme_admin_bar_icon_locale($variables) {
global $language;
return isset($language->native) ? $language->native : $language->name;
}