function theme_admin_menu_icon in Administration menu 6
Same name and namespace in other branches
- 8.3 admin_menu.inc \theme_admin_menu_icon()
- 5.3 admin_menu.inc \theme_admin_menu_icon()
- 5 admin_menu.module \theme_admin_menu_icon()
- 5.2 admin_menu.inc \theme_admin_menu_icon()
- 6.3 admin_menu.inc \theme_admin_menu_icon()
- 7.3 admin_menu.inc \theme_admin_menu_icon()
Render an icon to display in the Administration Menu.
1 theme call to theme_admin_menu_icon()
- admin_menu_adjust_items in ./
admin_menu.inc - Add some hard-coded features for better user experience.
File
- ./
admin_menu.module, line 327 - Renders a menu tree for administrative purposes as a dropdown menu at the top of the window.
Code
function theme_admin_menu_icon() {
return '<img class="admin-menu-icon" src="' . (theme_get_setting('toggle_favicon') ? theme_get_setting('favicon') : base_path() . 'misc/favicon.ico') . '" width="16" height="16" alt="' . t('Home') . '" />';
}