function paypal_donate_view_paypalform in Paypal Donation 7
This function is a wrapper to populate the node content by calling the theme function
@since 1.0
See also
1 call to paypal_donate_view_paypalform()
- paypal_donate_view in ./
paypal_donate.module - This function is called with every node event. In this case we use this function to render the Paypal form on the user side of the website (So on watching the content). It will precent the Paypal button for users to donate money to the website.
File
- ./
paypal_donate.module, line 141
Code
function paypal_donate_view_paypalform(&$node, $view_mode) {
return theme('paypal_form', array(
'node' => $node,
));
}