You are here

public function BotchaRecipe::getDefaultSettings in BOTCHA Spam Prevention 7.3

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

Used to get default recipe data structure. @todo ?Do we need it?

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

public function getDefaultSettings() {
  return array(
    'fields' => $this
      ->getFields(),
    'css' => $this
      ->getCss(),
    'js' => $this
      ->getJs(),
  );
}