You are here

function _botcha_default_form_ids in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6 botcha.install \_botcha_default_form_ids()
  2. 6.3 botcha.install \_botcha_default_form_ids()
  3. 7 botcha.install \_botcha_default_form_ids()
  4. 7.2 botcha.install \_botcha_default_form_ids()
  5. 7.3 botcha.install \_botcha_default_form_ids()
2 calls to _botcha_default_form_ids()
botcha_update_6200 in ./botcha.install
Implementation of hook_update_N(). Create flexible relationships between recipe books and recipes and between recipe books and forms.
botcha_update_6201 in ./botcha.install
Create an interface to manage the list of forms that are forbidden to protect.

File

./botcha.install, line 192

Code

function _botcha_default_form_ids() {

  // Some default BOTCHA points.
  $form_ids = array(
    'user_pass',
    'user_login',
    'user_login_block',
    'user_register',
    'contact_mail_page',
    'contact_mail_user',
    'comment_form',
    'update_script_selection_form',
    'forum_node_form',
  );
  return $form_ids;
}