function hubspot_permission in HubSpot 7
Same name and namespace in other branches
- 7.3 hubspot.module \hubspot_permission()
- 7.2 hubspot.module \hubspot_permission()
Implements hook_permission() to choose who gets to see the recent leads block
File
- ./
hubspot.module, line 267 - Sends Webform results to HubSpot's Leads API by using Webform's provided hooks.
Code
function hubspot_permission() {
return array(
'see recent hubspot leads' => array(
'title' => t('See recent HubSpot leads'),
'description' => t("View the recent leads block when it's enabled."),
'restrict access' => TRUE,
),
);
}