You are here

function course_uc_token_list in Course 6

Implements hook_token_list().

File

modules/course_uc/course_uc.module, line 319

Code

function course_uc_token_list($type = 'all') {
  $tokens = array();
  if ($type == 'order') {
    $tokens['order']['course-products-header'] = t('Text to show if there are course products in the cart.');
    $tokens['order']['course-products'] = t('A link to the course products.');
  }
  return $tokens;
}