You are here

function entity_share_client_uninstall in Entity Share 8.3

Implements hook_uninstall().

File

modules/entity_share_client/entity_share_client.install, line 20

Code

function entity_share_client_uninstall() {

  // Delete remote websites locally stored authentication credentials.
  $key_value_store = \Drupal::keyValue(ClientAuthorizationInterface::LOCAL_STORAGE_KEY_VALUE_COLLECTION);
  $key_value_store
    ->deleteAll();
}