You are here

function quickbar_theme in Quickbar 7

Same name and namespace in other branches
  1. 6 quickbar.module \quickbar_theme()
  2. 7.2 quickbar.module \quickbar_theme()

Implements hook_theme().

File

./quickbar.module, line 133

Code

function quickbar_theme($existing, $type, $theme, $path) {
  $path = drupal_get_path('module', 'quickbar');
  $items['quickbar'] = array(
    'variables' => array(
      'tree' => array(),
      'rid' => NULL,
    ),
    'template' => 'quickbar',
    'path' => $path . '/theme',
    'file' => 'theme.inc',
  );
  $items['quickbar_form'] = array(
    'render element' => 'form',
    'file' => 'quickbar.admin.inc',
  );
  return $items;
}