function hubspot_disable in HubSpot 6.2
Same name and namespace in other branches
- 6 hubspot.install \hubspot_disable()
 - 7 hubspot.install \hubspot_disable()
 
Implements hook_disable() to warn of possible errors with HubSpot webforms.
File
- ./
hubspot.install, line 34  - Handle install/uninstall and warn users of problems with disabled Webform components.
 
Code
function hubspot_disable() {
  drupal_set_message(st('With the HubSpot module disabled, you may experience errors viewing and editing your HubSpot-enabled forms. Delete the HubSpot POST URL field or uninstall this module entirely to clear the errors.'), 'warning');
}