function zenophile_install in Zenophile 7
Same name and namespace in other branches
- 6.2 zenophile.install \zenophile_install()
Implements 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');
}