1.20.x admin_bar.module | admin_bar_theme() |
Implements hook_theme().
File
- modules/
admin_bar/ admin_bar.module, line 52 - Render an administrative bar as a dropdown menu at the top of the window.
Code
function admin_bar_theme() {
$base = array(
'file' => 'admin_bar.theme.inc',
);
return array(
'admin_bar_links' => array(
'render element' => 'elements',
) + $base,
'admin_bar_icon' => array(
'variables' => array('src' => NULL, 'alt' => NULL),
) + $base,
);
}