contact_install
- Versions
- 5 – 7
contact_install()
Implements hook_install().
Code
modules/contact/contact.install, line 71
<?php
function contact_install() {
// Insert a default contact category.
db_insert('contact')
->fields(array(
'category' => 'Website feedback',
'recipients' => variable_get('site_mail', ini_get('sendmail_from')),
'selected' => 1,
'reply' => '',
))
->execute();
}
?>Login or register to post comments 