function commerce_square_uninstall in Commerce Square Connect 8
Same name and namespace in other branches
- 7 commerce_square.install \commerce_square_uninstall()
Implements hook_uninstall().
File
- ./
commerce_square.install, line 73 - Contains install and update functions for Commerce Square.
Code
function commerce_square_uninstall() {
$state = \Drupal::state();
$state
->deleteMultiple([
'commerce_square.production_access_token',
'commerce_square.production_access_token_expiry',
'commerce_square.production_refresh_token',
]);
}