You are here

function search_by_page_uninstall in Search by Page 8

Same name and namespace in other branches
  1. 6 search_by_page.install \search_by_page_uninstall()
  2. 7 search_by_page.install \search_by_page_uninstall()

Implements hook_uninstall().

Remove the values that we have saved in configuration.

File

./search_by_page.install, line 158
Install hooks for search_by_page module.

Code

function search_by_page_uninstall() {
  \Drupal::configFactory()
    ->getEditable('search_by_page.settings')
    ->delete();
  search_index_clear('search_by_page');
}