function theme_admin_menu_icon in Administration menu 7.3
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()
- 6 admin_menu.module \theme_admin_menu_icon()
Renders an icon to display in the administration menu.
1 theme call to theme_admin_menu_icon()
- admin_menu_links_icon in ./
admin_menu.inc - Build icon menu links; mostly containing maintenance helpers.
File
- ./
admin_menu.inc, line 980 - Menu builder functions for Administration menu.
Code
function theme_admin_menu_icon($variables) {
return '<img class="admin-menu-icon" src="' . $variables['src'] . '" width="16" height="16" alt="' . $variables['alt'] . '" />';
}