You are here

function phrase_captcha_menu in CAPTCHA Pack 6

Same name and namespace in other branches
  1. 5 text_captcha/phrase_captcha/phrase_captcha.module \phrase_captcha_menu()
  2. 7 text_captcha/phrase_captcha/phrase_captcha.module \phrase_captcha_menu()

Implementation of hook_menu().

File

text_captcha/phrase_captcha/phrase_captcha.module, line 28

Code

function phrase_captcha_menu() {
  $items = array();

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