You are here

function botcha_boot in BOTCHA Spam Prevention 6.3

Same name and namespace in other branches
  1. 6.4 botcha.module \botcha_boot()
  2. 7.4 botcha.module \botcha_boot()
  3. 7.3 botcha.module \botcha_boot()

Implementation of 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
Implementation of hook_enable().

File

./botcha.module, line 426
BOTCHA - Spam Prevention It modifies forms by adding various botcha's.

Code

function botcha_boot() {
  module_invoke('moopapi', 'register', 'botcha');
}