function hubspot_disable in HubSpot 6
Same name and namespace in other branches
- 6.2 hubspot.install \hubspot_disable()
- 7 hubspot.install \hubspot_disable()
Implements hook_disable() to warn of possible errors with HubSpot webforms.
File
- ./
hubspot.install, line 30 - Implement install/uninstall hooks and warn about webform component errors on disable.
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');
}