You are here

function search_api_attachments_uninstall in Search API attachments 8

Same name and namespace in other branches
  1. 7 search_api_attachments.install \search_api_attachments_uninstall()
  2. 9.0.x search_api_attachments.install \search_api_attachments_uninstall()

Implements hook_uninstall().

File

./search_api_attachments.install, line 11
Install and update functions for the search_api_attachments module.

Code

function search_api_attachments_uninstall() {

  // Remove collection search_api_attachments.
  \Drupal::keyValue('search_api_attachments')
    ->deleteAll();
}