cufon.install in Cufón 7.2
Same filename and directory in other branches
Installation code for Cufon
File
cufon.installView source
<?php
/**
* @file
* Installation code for Cufon
*/
/**
* Implementation of hook_install().
*/
function cufon_install() {
// Ensure late execution
$update = db_update('system')
->condition('name', 'cufon')
->fields(array(
'weight' => 100,
));
}
/**
* Implements hook_uninstall().
*/
function cufon_uninstall() {
// Variable(s) cleanup
variable_del('cufon_selectors');
variable_del('cufon_remote_url');
}
Functions
Name | Description |
---|---|
cufon_install | Implementation of hook_install(). |
cufon_uninstall | Implements hook_uninstall(). |