function webform_civicrm_token_info in Webform CiviCRM Integration 7.4
Same name and namespace in other branches
- 8.5 webform_civicrm.module \webform_civicrm_token_info()
- 7.5 webform_civicrm.module \webform_civicrm_token_info()
Implements hook_token_info().
File
- ./
webform_civicrm.module, line 709 - Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts
Code
function webform_civicrm_token_info() {
$info = array();
$info['tokens']['submission']['contact-id'] = array(
'name' => t('Webform CiviCRM Contacts IDs'),
'description' => t('The IDs of Contacts that got created after submitting the webform. Replace the "?" with the contact number starting from 1'),
'dynamic' => TRUE,
);
$info['tokens']['submission']['contact-link'] = array(
'name' => t('Webform CiviCRM Contacts Links'),
'description' => t('The links to Contacts that got created after submitting the webform. Replace the "?" with the contact number starting from 1'),
'dynamic' => TRUE,
);
$info['tokens']['submission']['activity-id'] = array(
'name' => t('Webform CiviCRM Activity IDs'),
'description' => t('The IDs of activities that got created after submitting the webform. Replace the "?" with the activity number starting from 1'),
'dynamic' => TRUE,
);
$info['tokens']['submission']['activity-link'] = array(
'name' => t('Webform CiviCRM Activity Links'),
'description' => t('The links to activities that got created after submitting the webform. Replace the "?" with the activity number starting from 1'),
'dynamic' => TRUE,
);
$info['tokens']['submission']['case-id'] = array(
'name' => t('Webform CiviCRM Case IDs'),
'description' => t('The IDs of cases that got created after submitting the webform. Replace the "?" with the case number starting from 1'),
'dynamic' => TRUE,
);
$info['tokens']['submission']['case-link'] = array(
'name' => t('Webform CiviCRM Case Links'),
'description' => t('The links to cases that got created after submitting the webform. Replace the "?" with the case number starting from 1'),
'dynamic' => TRUE,
);
return $info;
}