1 admin_bar.module admin_bar_theme()

Implements hook_theme().

File

core/modules/admin_bar/admin_bar.module, line 56
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,
  );
}