You are here

function recaptcha_menu in reCAPTCHA 6

Same name and namespace in other branches
  1. 8 recaptcha.module \recaptcha_menu()
  2. 5.2 recaptcha.module \recaptcha_menu()
  3. 6.2 recaptcha.module \recaptcha_menu()
  4. 7.2 recaptcha.module \recaptcha_menu()
  5. 7 recaptcha.module \recaptcha_menu()

Implements hook_menu().

File

./recaptcha.module, line 41
Uses the reCAPTCHA web service to improve the CAPTCHA system.

Code

function recaptcha_menu() {
  $items = array();
  $items['admin/user/captcha/recaptcha'] = array(
    'title' => 'reCAPTCHA',
    'description' => 'Administer the reCAPTCHA web service.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'recaptcha_admin_settings',
    ),
    'access arguments' => array(
      'administer recaptcha',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'recaptcha.admin.inc',
  );
  return $items;
}