You are here

public function BotchaForm::isEnabled in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/form/botcha.form.controller.inc \BotchaForm::isEnabled()

File

controller/form/botcha.form.controller.inc, line 126
Controller layer of the BotchaForm objects.

Class

BotchaForm

Code

public function isEnabled() {
  $form_id = $this->id;
  $isEnabled = variable_get("botcha_enabled_{$form_id}", 0);
  return $isEnabled;
}