You are here

function google_analytics_reports_install in Google Analytics Reports 7.3

Same name and namespace in other branches
  1. 8.3 google_analytics_reports.install \google_analytics_reports_install()

Implements hook_install().

File

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

Code

function google_analytics_reports_install() {
  db_update('system')
    ->fields(array(
    'weight' => 11,
  ))
    ->condition('name', 'google_analytics_reports', '=')
    ->execute();

  // Import Google Analytics fields.
  google_analytics_reports_fields_import();
}