function honeypot_install in Honeypot 6
Same name and namespace in other branches
- 8 honeypot.install \honeypot_install()
- 7 honeypot.install \honeypot_install()
- 2.0.x honeypot.install \honeypot_install()
Implementation of hook_install().
File
- ./
honeypot.install, line 11 - Install, update and uninstall functions for the Honeypot module.
Code
function honeypot_install() {
$t = get_t();
// Create tables.
drupal_install_schema('honeypot');
drupal_set_message($t("Honeypot installed successfully. Please !link to protect your forms from spam bots.", array(
'!link' => l($t('configure Honeypot'), 'admin/settings/honeypot'),
)));
}