function lingotek_identify_lead in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lingotek.setup.inc \lingotek_identify_lead()
- 7.3 lingotek.setup.inc \lingotek_identify_lead()
- 7.4 lingotek.setup.inc \lingotek_identify_lead()
- 7.5 lingotek.setup.inc \lingotek_identify_lead()
- 7.6 lingotek.setup.inc \lingotek_identify_lead()
Identify lead details
1 call to lingotek_identify_lead()
- lingotek_setup_new_account_form_submit in ./
lingotek.setup.inc - New Account - Form Processor Provisions a Lingotek account and sends activation notice.
File
- ./
lingotek.setup.inc, line 100 - Lingotek Easy Install Process.
Code
function lingotek_identify_lead($data) {
global $base_url;
$lead = array_merge(array(
'first_name' => '',
'last_name' => '',
'email' => '',
'company' => lingotek_get_site_name(),
// Website name => company
'website' => $base_url,
// website url
'type' => LINGOTEK_DEV ? 'QA' : 'Prospect',
'cms' => 'Drupal',
'distribution' => '',
'lead_source' => '',
'partner' => '',
), $data);
$tags = lingotek_identify_tags();
return array_merge($lead, $tags);
}