You are here

function BotchaRecipeUsingJsAbstract::getField in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeUsingJsAbstract::getField()
  2. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeUsingJsAbstract::getField()
  3. 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeUsingJsAbstract::getField()

Overrides BotchaRecipe::getField

File

controller/botcha_recipe.controller.inc, line 462
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipeUsingJsAbstract

Code

function getField($delta) {
  return array_merge(parent::getField($delta), array(
    'default_value' => $this
      ->getProperty($this->settings['fields'][$delta]['default_value'], 'getFieldDefault', $delta),
  ));
}