You are here

function casetracker_theme in Case Tracker 7.2

Same name and namespace in other branches
  1. 6 casetracker.module \casetracker_theme()
  2. 7 casetracker.module \casetracker_theme()

Implement hook_theme().

File

./casetracker.module, line 451

Code

function casetracker_theme() {
  return array(
    // Case
    'casetracker_case_add_list' => array(
      'variables' => array(
        'content' => array(),
      ),
      'file' => 'casetracker_case.inc',
    ),
    'casetracker_case_full_view_mode' => array(
      'variables' => array(
        'CaseTrackerCase' => NULL,
      ),
      'path' => drupal_get_path('module', 'casetracker') . '/tpl',
      'template' => 'casetracker-case-full',
    ),
    // Project
    'casetracker_project_add_list' => array(
      'variables' => array(
        'content' => array(),
      ),
      'file' => 'casetracker_project.inc',
    ),
    'casetracker_project_list_view_mode' => array(
      'variables' => array(
        'project' => NULL,
      ),
      'path' => drupal_get_path('module', 'casetracker') . '/tpl',
      'template' => 'casetracker-project-list',
    ),
    'casetracker_project_full_view_mode' => array(
      'variables' => array(
        'CaseTrackerProject' => NULL,
      ),
      'path' => drupal_get_path('module', 'casetracker') . '/tpl',
      'template' => 'casetracker-project-full',
    ),
  );
}