You are here

datalayer.install in dataLayer 7

Install, update, and uninstall hooks for the Data Layer module.

File

datalayer.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall hooks for the Data Layer module.
 */

/**
 * Implements hook_uninstall().
 */
function datalayer_uninstall() {

  // Remove all configurations.
  global $conf;
  foreach ($conf as $key => $value) {
    if (0 === strpos($key, 'datalayer_')) {
      variable_del($key);
    }
  }
}

Functions

Namesort descending Description
datalayer_uninstall Implements hook_uninstall().