function statistics_uninstall
Same name in other branches
- 7.x modules/statistics/statistics.install \statistics_uninstall()
- 8.9.x core/modules/statistics/statistics.install \statistics_uninstall()
- 10 core/modules/statistics/statistics.install \statistics_uninstall()
- 11.x core/modules/statistics/statistics.install \statistics_uninstall()
Implements hook_uninstall().
File
-
core/
modules/ statistics/ statistics.install, line 11
Code
function statistics_uninstall() {
// Remove states.
\Drupal::state()->delete('statistics.node_counter_scale');
\Drupal::state()->delete('statistics.day_timestamp');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.