function theme_pay_form_link in Pay 6
Same name and namespace in other branches
- 7 theme/pay.theme.inc \theme_pay_form_link()
Theme function for links to payment forms.
File
- theme/
pay.theme.inc, line 74 - Theme hooks and callbacks for the Payment API.
Code
function theme_pay_form_link($pay_form, $text = 'Make a payment') {
if ($path = $pay_form
->menu_path()) {
$link = array(
'title' => $text,
'href' => $path,
);
return l($link['title'], $link['href'], $link);
}
}