You are here

function auth0_uninstall in Auth0 Single Sign On 8

Same name and namespace in other branches
  1. 8.2 auth0.install \auth0_uninstall()
  2. 7.2 auth0.install \auth0_uninstall()

Implements hook_uninstall().

File

./auth0.install, line 72
Installation file for the auth0 module.

Code

function auth0_uninstall() {
  $config = \Drupal::service('config.factory');
  $auth0_config = $config
    ->getEditable('auth0.settings');
  $auth0_config
    ->delete();
}