function botcha_boot in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.4 botcha.module \botcha_boot()
- 6.3 botcha.module \botcha_boot()
- 7.4 botcha.module \botcha_boot()
Implements hook_boot().
Implementing hook_boot() is a must, to force drupal to load this module as early as possible. During hook_init phase moopapi_init() will initialize all the oop method wrappers and execute hook oop->boot().
See also
application/botcha.application.inc
1 call to botcha_boot()
- botcha_enable in ./
botcha.install - Implements hook_enable().
File
- ./
botcha.module, line 342 - BOTCHA - Spam Prevention It modifies forms by adding various botcha's.
Code
function botcha_boot() {
module_invoke('moopapi', 'register', 'botcha');
}