You are here

function google_captcha_menu in Google Captcha 7

Implements hook_menu().

File

./google_captcha.module, line 11
Verifies if user is a human without necessity to solve a CAPTCHA.

Code

function google_captcha_menu() {
  $items = array();
  $items['admin/config/people/captcha/google_captcha'] = array(
    'title' => 'Google Captcha',
    'description' => 'Administer the Google No CAPTCHA reCAPTCHA web service.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'google_captcha_admin_settings',
    ),
    'access arguments' => array(
      'administer google_captcha',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'google_captcha.admin.inc',
  );
  return $items;
}