You are here

function _webform_defaults_hubspot_url in HubSpot 6

Same name and namespace in other branches
  1. 6.2 hubspot.module \_webform_defaults_hubspot_url()
  2. 7 hubspot.module \_webform_defaults_hubspot_url()

Provides default values for this component.

File

./hubspot.module, line 167
Sends Webform results to HubSpot's Leads API by using Webform's provided hooks.

Code

function _webform_defaults_hubspot_url() {
  return array(
    'name' => 'HubSpot POST URL',
    'form_key' => 'hubspot',
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'extra' => array(),
  );
}