function statistics_uninstall in Drupal 8
Same name and namespace in other branches
- 5 modules/statistics/statistics.install \statistics_uninstall()
- 6 modules/statistics/statistics.install \statistics_uninstall()
- 7 modules/statistics/statistics.install \statistics_uninstall()
- 9 core/modules/statistics/statistics.install \statistics_uninstall()
Implements hook_uninstall().
File
- core/
modules/ statistics/ statistics.install, line 11 - Install and update functions for the Statistics module.
Code
function statistics_uninstall() {
// Remove states.
\Drupal::state()
->delete('statistics.node_counter_scale');
\Drupal::state()
->delete('statistics.day_timestamp');
}