public function Storage::deleteAllData in Acquia Connector 8.2
Same name and namespace in other branches
- 8 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::deleteAllData()
- 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\HelperCode
public function deleteAllData() {
\Drupal::state()
->deleteMultiple([
'acquia_connector.key',
'acquia_connector.identifier',
'spi.site_name',
'spi.site_machine_name',
]);
}