You are here

public function Storage::deleteAllData in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::deleteAllData()
  2. 3.x src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::deleteAllData()

Deletes all stored data.

File

src/Helper/Storage.php, line 58

Class

Storage
Class Storage.

Namespace

Drupal\acquia_connector\Helper

Code

public function deleteAllData() {
  \Drupal::state()
    ->deleteMultiple([
    'acquia_connector.key',
    'acquia_connector.identifier',
    'spi.site_name',
    'spi.site_machine_name',
  ]);
}