You are here

function piwik_reports_theme in Piwik Reports 7.3

Same name and namespace in other branches
  1. 8 piwik_reports.module \piwik_reports_theme()
  2. 6 piwik_reports.module \piwik_reports_theme()
  3. 7.4 piwik_reports.module \piwik_reports_theme()
  4. 7.2 piwik_reports.module \piwik_reports_theme()

Implements hook_theme().

File

./piwik_reports.module, line 341
Defines features and functions common to Piwik Reports.

Code

function piwik_reports_theme() {
  return array(
    'piwik_reports' => array(
      'template' => 'piwik-reports',
      'variables' => array(
        'data_url' => NULL,
        'period' => NULL,
      ),
    ),
  );
}