You are here

function text_captcha_menu in CAPTCHA 6

Same name and namespace in other branches
  1. 5.3 text_captcha/text_captcha.module \text_captcha_menu()

Implementation of hook_menu().

File

text_captcha/text_captcha.module, line 24

Code

function text_captcha_menu() {
  $items['admin/user/captcha/text_captcha'] = array(
    // add an administration tab for text_captcha
    'title' => 'Text CAPTCHA',
    'file' => 'text_captcha.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'text_captcha_settings_form',
    ),
    'access arguments' => array(
      'administer CAPTCHA settings',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}