You are here

public function BotchaRecipeObscureUrl::getInfo in BOTCHA Spam Prevention 6.3

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

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

Overrides BotchaRecipeUsingJsAbstract::getInfo

File

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

Class

BotchaRecipeObscureUrl

Code

public function getInfo() {
  parent::getInfo();
  $this->description = t('Insert a new field into form action URL.') . ' ' . t('Bots will not run JS and miss the field.') . ' ' . t('%parts is added to the form.', array(
    '%parts' => 'JS',
  )) . ' ' . t('JS enters key value into the field.');
}