You are here

function oa_toolbar_theme in Open Atrium Toolbar 7.2

Implements hook_theme()

File

./oa_toolbar.module, line 165
Provides hook implementations and functionality for oa_toolbar.

Code

function oa_toolbar_theme() {
  $path = drupal_get_path('module', 'oa_toolbar') . '/templates';
  return array(
    'oa_toolbar' => array(
      'template' => 'oa-toolbar',
      'path' => $path,
    ),
    'oa_toolbar_mobile' => array(
      'template' => 'oa-toolbar-mobile',
      'path' => $path,
    ),
    'oa_user_badge' => array(
      'template' => 'oa-user-badge',
      'path' => $path,
    ),
    'oa_toolbar_menu_button' => array(
      'template' => 'oa-toolbar-menu-button',
      'path' => $path,
    ),
    'oa_breadcrumb' => array(
      'template' => 'oa-breadcrumb',
      'path' => $path,
    ),
    'oa_navigation' => array(
      'variables' => array(
        'menu_name' => NULL,
      ),
      'template' => 'oa-navigation',
      'path' => $path,
    ),
    'oa_space_menu' => array(
      'variables' => array(
        'menu' => NULL,
      ),
      'template' => 'oa-space-menu',
      'path' => $path,
    ),
    'oa_space_nav' => array(
      'variables' => array(
        'menu' => NULL,
      ),
      'template' => 'oa-space-nav',
      'path' => $path,
    ),
    'oa_separator' => array(
      'variables' => array(
        'menu' => NULL,
      ),
      'template' => 'oa-separator',
      'path' => $path,
    ),
    'oa_space_structure' => array(
      'variables' => array(
        'menu' => NULL,
      ),
      'template' => 'oa-space-structure',
      'path' => $path,
    ),
    'oa_recent' => array(
      'variables' => array(
        'menu' => NULL,
      ),
      'template' => 'oa-recent',
      'path' => $path,
    ),
  );
}