You are here

function tracker_uninstall in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/tracker/tracker.install \tracker_uninstall()
  2. 7 modules/tracker/tracker.install \tracker_uninstall()

Implements hook_uninstall().

File

core/modules/tracker/tracker.install, line 11
Install, update, and uninstall functions for tracker.module.

Code

function tracker_uninstall() {
  \Drupal::state()
    ->delete('tracker.index_nid');
}