You are here

protected function BotchaRecipeUsingJsAbstract::getField in BOTCHA Spam Prevention 7.3

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.2 controller/botcha_recipe.controller.inc \BotchaRecipeUsingJsAbstract::getField()

Overrides BotchaRecipe::getField

File

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

Class

BotchaRecipeUsingJsAbstract

Code

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