function pay_progress_theme_theme in Pay 6
Same name and namespace in other branches
- 7 modules/pay_progress/theme/pay_progress.theme.inc \pay_progress_theme_theme()
Implementation of hook_theme().
1 call to pay_progress_theme_theme()
- pay_progress_theme in modules/
pay_progress/ pay_progress.module - Implementation of 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(
'arguments' => 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(
'arguments' => array(
'pay_form' => NULL,
),
'file' => 'pay_progress.theme.inc',
'path' => $path,
),
);
}