You are here

public function BotchaRecipeHoneypot::getInfo in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeHoneypot::getInfo()
  2. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeHoneypot::getInfo()
  3. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipeHoneypot::getInfo()

Used to get information about the recipe. Must be overridden.

Overrides BotchaRecipeUsingJsAbstract::getInfo

File

controller/recipe/botcha.recipe.controller.inc, line 666
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipeHoneypot

Code

public function getInfo() {
  parent::getInfo();
  $this->description = t('Insert JS+CSS+honeypot field.') . ' ' . t('Bots will not run JS or will mess with the field') . ' ' . t('%parts are added to the form.', array(
    '%parts' => t('Honeypot field') . ', CSS , JS',
  )) . ' ' . t('CSS hides the input field.') . ' ' . t('JS enters key value into the field.');
}