typekit.install in Typekit 6
This file holds the functions for the installing and enabling of the typekit module.
File
typekit.installView source
<?php
/**
* @file
* This file holds the functions for the installing
* and enabling of the typekit module.
*
* @ingroup typekit
*/
/**
* Implementation of hook_install().
*/
function typekit_install() {
// Do install stuff
}
/**
* Implementation of hook_uninstall().
*/
function typekit_uninstall() {
// Get module variables
$results = db_query("SELECT v.name FROM {variable} AS v WHERE v.name LIKE '%s%%'", 'typekit_');
// Remove variables
while ($row = db_fetch_array($results)) {
variable_del($row['name']);
}
}
Functions
Name![]() |
Description |
---|---|
typekit_install | Implementation of hook_install(). |
typekit_uninstall | Implementation of hook_uninstall(). |