You are here

function _webform_defaults_hubspot_url in HubSpot 7

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

Provides default values for this component.

File

./hubspot.module, line 172
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(),
  );
}