You are here

openlayers_ui.install in Openlayers 6.2

Same filename and directory in other branches
  1. 7.2 modules/openlayers_ui/openlayers_ui.install

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

File

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

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

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

  // Get module variables
  $results = db_query("SELECT v.name FROM {variable} AS v WHERE v.name LIKE '%s%%'", 'openlayers_ui_');

  // Remove variables
  while ($row = db_fetch_array($results)) {
    variable_del($row['name']);
  }
}

Related topics

Functions

Namesort descending Description
openlayers_ui_uninstall Implementation of hook_uninstall().