function salesforce_uninstall in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 salesforce.install \salesforce_uninstall()
- 7.3 salesforce.install \salesforce_uninstall()
- 5.0.x salesforce.install \salesforce_uninstall()
Implements hook_uninstall().
Purge Salesforce module state variables.
File
- ./
salesforce.install, line 20 - Salesforce install file.
Code
function salesforce_uninstall() {
$delete = [
'salesforce.instance_url',
'salesforce.access_token',
'salesforce.refresh_token',
'salesforce.identity',
'salesforce.last_requirements_check',
'salesforce.usage',
'salesforce.tls_status',
];
\Drupal::state()
->deleteMultiple($delete);
}