You are here

function hubspot_block_info in HubSpot 7

Same name and namespace in other branches
  1. 7.3 hubspot.module \hubspot_block_info()
  2. 7.2 hubspot.module \hubspot_block_info()

Implements hook_block_info() to provide a HubSpot recent leads block.

File

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

Code

function hubspot_block_info() {
  $blocks = array();
  $blocks['hubspot_recent'] = array(
    'info' => t('HubSpot Recent Leads'),
    'properties' => array(
      'administrative' => TRUE,
    ),
  );
  return $blocks;
}