You are here

function captcha_after_menu in CAPTCHA After 7

Same name and namespace in other branches
  1. 6 captcha_after.module \captcha_after_menu()

Implementation of hook_menu().

File

./captcha_after.module, line 12
Show CAPTCHA protection on selected forms after specified number of unsuccessful form submit attempts has been made.

Code

function captcha_after_menu() {
  $items = array();
  $items['admin/config/people/captcha/captcha/after'] = array(
    'title' => 'CAPTCHA After',
    'file' => 'captcha_after.admin.inc',
    'description' => 'Change CAPTCHA After settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'captcha_after_settings',
    ),
    'access arguments' => array(
      'administer CAPTCHA settings',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
  );
  return $items;
}