You are here

openlayers_views.install in Openlayers 7.2

This file holds the functions for the installing and enabling of the openlayers_views module.

File

modules/openlayers_views/openlayers_views.install
View source
<?php

/**
 * @file
 * This file holds the functions for the installing
 * and enabling of the openlayers_views module.
 *
 * @ingroup openlayers
 */

/**
 * Implementation of hook_uninstall().
 */
function openlayers_views_uninstall() {

  // Get module variables
  global $conf;
  foreach (array_keys($conf) as $key) {

    // Find variables that have the module prefix
    if (strpos($key, 'openlayers_views_') === 0) {
      variable_del($key);
    }
  }
}

Related topics

Functions

Namesort descending Description
openlayers_views_uninstall Implementation of hook_uninstall().