1 admin_bar.theme.inc template_preprocess_admin_bar_icon(&$variables)

Preprocesses variables for theme_admin_bar_icon().

File

core/modules/admin_bar/admin_bar.theme.inc, line 119
Theme functions for the Admin Bar module.

Code

function template_preprocess_admin_bar_icon(&$variables) {
  $variables['src'] = $GLOBALS['base_url'] . '/' . backdrop_get_path('module', 'admin_bar') . '/images/home.png';
  $variables['alt'] = t('Home');
}