You are here

function paymentmethodbasic_install in Payment 7

Implements hook_install().

File

modules/paymentmethodbasic/paymentmethodbasic.install, line 47
Installation and uninstallation functions.

Code

function paymentmethodbasic_install() {
  foreach (paymentmethodbasic_payment_method_defaults() as $payment_method) {
    entity_save('payment_method', $payment_method);
  }
}