You are here

top_buttons.install in Util 6.3

Same filename and directory in other branches
  1. 7 contribs/top_buttons/top_buttons.install

Install code for Top Buttons add-on to Util.

File

contribs/top_buttons/top_buttons.install
View source
<?php

/**
 * @file
 * Install code for Top Buttons add-on to Util.
 */

/**
 * Implements hook_install();
 * Set module weight higher to better see modified buttons.
 */
function top_buttons_install() {
  db_query("UPDATE {system} SET weight = 20 WHERE name = 'top_buttons'");
}

/**
 * Implements hook_uninstall();
 * Remove module variables.
 */
function top_buttons_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'top_buttons_%'");
}

Functions

Namesort descending Description
top_buttons_install Implements hook_install(); Set module weight higher to better see modified buttons.
top_buttons_uninstall Implements hook_uninstall(); Remove module variables.