You are here

function hubspot_uninstall in HubSpot 3.x

Same name and namespace in other branches
  1. 8 hubspot.install \hubspot_uninstall()
  2. 6.2 hubspot.install \hubspot_uninstall()
  3. 6 hubspot.install \hubspot_uninstall()
  4. 7.3 hubspot.install \hubspot_uninstall()
  5. 7 hubspot.install \hubspot_uninstall()
  6. 7.2 hubspot.install \hubspot_uninstall()

Implements hook_uninstall().

File

./hubspot.install, line 26
Installation file for hubspot.

Code

function hubspot_uninstall() {
  \Drupal::configFactory()
    ->getEditable('hubspot.settings')
    ->delete();
}