zenophile.install in Zenophile 6.2
Same filename and directory in other branches
Zenophile's .install file.
File
zenophile.installView source
<?php
/**
* @file
* Zenophile's .install file.
*/
/**
* Implementation of hook_install().
*
* Set the weight of the Zenophile module to -10 so that its own
* hook_zenophile_alter() implementation fires first with other modules'
* implementations having to set their weights higher.
*/
function zenophile_install() {
$record = array(
'name' => 'zenophile',
'weight' => -10,
);
drupal_write_record('system', $record, 'name');
}
/**
* Implementation of hook_uninstall().
*/
function zenophile_uninstall() {
variable_del('zenophile_chmod');
}
Functions
Name![]() |
Description |
---|---|
zenophile_install | Implementation of hook_install(). |
zenophile_uninstall | Implementation of hook_uninstall(). |