You are here

public function Storage::deleteAllData in Acquia Search 3.x

Deletes all data stored in State.

File

src/Helper/Storage.php, line 157

Class

Storage
Class Storage.

Namespace

Drupal\acquia_search\Helper

Code

public function deleteAllData() {
  \Drupal::state()
    ->deleteMultiple([
    'acquia_search.api_key',
    'acquia_search.identifier',
    'acquia_search.uuid',
    'acquia_search.version',
  ]);
}