function zenophile_install in Zenophile 6.2
Same name and namespace in other branches
- 7 zenophile.install \zenophile_install()
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.
File
- ./
zenophile.install, line 15 - Zenophile's .install file.
Code
function zenophile_install() {
$record = array(
'name' => 'zenophile',
'weight' => -10,
);
drupal_write_record('system', $record, 'name');
}