You are here

function hubspot_uninstall in HubSpot 8

Same name and namespace in other branches
  1. 6.2 hubspot.install \hubspot_uninstall()
  2. 6 hubspot.install \hubspot_uninstall()
  3. 7.3 hubspot.install \hubspot_uninstall()
  4. 7 hubspot.install \hubspot_uninstall()
  5. 7.2 hubspot.install \hubspot_uninstall()
  6. 3.x 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();
}