You are here

function checklistapi_theme in Checklist API 7

Same name and namespace in other branches
  1. 8 checklistapi.module \checklistapi_theme()

Implements hook_theme().

File

./checklistapi.module, line 281
An API for creating fillable, persistent checklists.

Code

function checklistapi_theme() {
  return array(
    'checklistapi_compact_link' => array(
      'file' => 'checklistapi.pages.inc',
    ),
    'checklistapi_progress_bar' => array(
      'path' => drupal_get_path('module', 'checklistapi') . '/templates',
      'template' => 'checklistapi-progress-bar',
      'variables' => array(
        'message' => ' ',
        'number_complete' => 0,
        'number_of_items' => 0,
        'percent_complete' => 0,
      ),
    ),
  );
}