You are here

public function BotchaLogger::form_alter in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/application/decorator/logger/botcha.application.controller.logger.inc \BotchaLogger::form_alter()

Overrides IBotcha::form_alter

File

controller/application/decorator/logger/botcha.application.controller.logger.inc, line 47
Contains BotchaLogger class.

Class

BotchaLogger
Since we can't use __call here because it can't work with passing by reference, we have to implement each method directly. @todo Refactor it once we have an application of full value (not just an adapter for its controller).

Code

public function form_alter(&$form, &$form_state, $form_id) {
  return $this
    ->logCall('form_alter', array(
    &$form,
    &$form_state,
    $form_id,
  ));
}