function pay_progress_theme_theme in Pay 7
Same name and namespace in other branches
- 6 modules/pay_progress/theme/pay_progress.theme.inc \pay_progress_theme_theme()
Implements hook_theme().
1 call to pay_progress_theme_theme()
- pay_progress_theme in modules/
pay_progress/ pay_progress.module - Implements hook_theme().
File
- modules/
pay_progress/ theme/ pay_progress.theme.inc, line 11 - Theme hooks and callbacks for the Payment Progress module.
Code
function pay_progress_theme_theme() {
$path = drupal_get_path('module', 'pay_progress') . '/theme';
return array(
'pay_progress' => array(
'variables' => array(
'pay_form' => NULL,
'progress_type' => 'total',
),
'template' => 'pay_progress',
'pattern' => 'pay_progress__',
'file' => 'pay_progress.theme.inc',
'path' => $path,
),
'pay_progress_total_paid' => array(
'variables' => array(
'pay_form' => NULL,
),
'file' => 'pay_progress.theme.inc',
'path' => $path,
),
);
}