You are here

function paypal_donate_install in Paypal Donation 6

Same name and namespace in other branches
  1. 7 paypal_donate.install \paypal_donate_install()

This hook is triggered when the paypal donate module is being installed. This function will run only once and gives us the possibility to install the a required table in the database.

@since 1.0

Return value

void

File

./paypal_donate.install, line 13

Code

function paypal_donate_install() {
  drupal_install_schema('paypal_donate');
  variable_set('paypal_donate_version', PAYPAL_DONATE_VERSION);
}