You are here

function commerce_purchase_order_install in Commerce Purchase Order 7

Implements hook_install().

File

./commerce_purchase_order.install, line 6

Code

function commerce_purchase_order_install() {

  // Remind user to set validation settings.
  $settings_url = url('admin/commerce/config/payment-methods/manage/commerce_payment_commerce_purchase_order/edit/3', array(
    'absolute' => TRUE,
  ));
  drupal_set_message(t('Thank you for installing commerce purchase order, kindly set the purchase order by visiting <a href="@settings">purchase order settings</a>.', array(
    '@settings' => $settings_url,
  )), 'status', FALSE);
}