You are here

function phrase_captcha_menu in CAPTCHA Pack 7

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

Implements hook_menu().

File

text_captcha/phrase_captcha/phrase_captcha.module, line 26

Code

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

  // Add an administration tab for phrase_captcha
  $items['admin/config/people/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;
}