You are here

function google_analytics_reports_uninstall in Google Analytics Reports 8.3

Same name and namespace in other branches
  1. 7.3 google_analytics_reports.install \google_analytics_reports_uninstall()

Implements hook_uninstall().

File

./google_analytics_reports.install, line 84
Contains install and update functions for Google Analytics Reports module.

Code

function google_analytics_reports_uninstall() {
  drupal_uninstall_schema('google_analytics_reports');
  \Drupal::configFactory()
    ->getEditable('views.view.google_analytics_summary')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('views.view.google_analytics_reports_page')
    ->delete();
}