function theme_admin_menu_icon in Administration menu 5.2
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()
- 6.3 admin_menu.inc \theme_admin_menu_icon()
- 6 admin_menu.module \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.inc, line 389 - Cached builder functions for Drupal Administration Menu.
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') . '" />';
}