You are here

function hubspot_disable in HubSpot 7

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

Implements hook_disable() to warn of possible errors with HubSpot webforms.

File

./hubspot.install, line 32
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');
}