You are here

function theme_admin_menu_icon in Administration menu 5.3

Same name and namespace in other branches
  1. 8.3 admin_menu.inc \theme_admin_menu_icon()
  2. 5 admin_menu.module \theme_admin_menu_icon()
  3. 5.2 admin_menu.inc \theme_admin_menu_icon()
  4. 6.3 admin_menu.inc \theme_admin_menu_icon()
  5. 6 admin_menu.module \theme_admin_menu_icon()
  6. 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 632
Menu build functions for 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') . '" />';
}