You are here

function commerce_reports_theme in Commerce Reporting 7.4

Same name and namespace in other branches
  1. 7 commerce_reports.module \commerce_reports_theme()
  2. 7.3 commerce_reports.module \commerce_reports_theme()

Implements hook_theme().

File

./commerce_reports.module, line 66
Module file for Commerce Reports.

Code

function commerce_reports_theme($existing, $type, $theme, $path) {
  return array(
    'commerce_reports_dashboard_block' => array(
      'render element' => 'block',
      'template' => 'dashboard-block',
      'path' => drupal_get_path('module', 'commerce_reports') . '/theme',
    ),
    'commerce_reports_dashboard_row' => array(
      'render element' => 'row',
      'template' => 'dashboard-row',
      'path' => drupal_get_path('module', 'commerce_reports') . '/theme',
    ),
  );
}