address_customer_links

Definition

address_customer_links($customer, $op)
ecommerce-5--4/address/address.module, line 115

Description

Implementation of hook_customer_links()

Code

<?php
function address_customer_links($customer, $op) {
  switch ($op) {
    case 'add_address':
      return "user/{$customer->exid}/address/add";
      break;

    case 'edit':
      return "user/{$customer->exid}/edit";
      break;

    case 'view':
      return "user/{$customer->exid}";
      break;
  }
}
?>