function acquia_search_uninstall in Acquia Search 3.x
Same name and namespace in other branches
- 6.3 acquia_search.install \acquia_search_uninstall()
- 6 acquia_search.install \acquia_search_uninstall()
- 2.x acquia_search.install \acquia_search_uninstall()
Implements hook_uninstall().
File
- ./
acquia_search.install, line 83 - Install, update, and uninstall functions for the Acquia Search Solr module.
Code
function acquia_search_uninstall() {
$storage = new Storage();
$storage
->deleteAllData();
\Drupal::configFactory()
->getEditable('acquia_search.settings')
->delete();
}