You are here

function merci_token_list in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6

Same name and namespace in other branches
  1. 6.2 merci.module \merci_token_list()

Implementation of hook_token_list().

File

./merci.module, line 3140
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {

    //$tokens['node']['merci_resources'] = t('Reserved resource');
    $tokens['node']['merci_commercial_cost'] = t('Commercial cost');
    $tokens['node']['merci_member_cost'] = t('Member cost');
    return $tokens;
  }
}