You are here

function math_captcha_menu in CAPTCHA Pack 7

Same name and namespace in other branches
  1. 5 math_captcha/math_captcha.module \math_captcha_menu()
  2. 6 math_captcha/math_captcha.module \math_captcha_menu()

Implements hook_menu().

File

math_captcha/math_captcha.module, line 6

Code

function math_captcha_menu() {
  $items = array();
  $items['admin/config/people/captcha/math_captcha'] = array(
    'title' => 'Math CAPTCHA',
    'file' => 'math_captcha.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'math_captcha_settings_form',
    ),
    'access arguments' => array(
      'administer CAPTCHA settings',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}