You are here

function quickbar_theme in Quickbar 6

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

Implementation of hook_theme().

File

./quickbar.module, line 102

Code

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