You are here

function foo_captcha_menu in CAPTCHA Pack 6

Same name and namespace in other branches
  1. 5 foo_captcha/foo_captcha.module \foo_captcha_menu()
  2. 7 foo_captcha/foo_captcha.module \foo_captcha_menu()

Implementation of hook_menu().

File

foo_captcha/foo_captcha.module, line 16

Code

function foo_captcha_menu() {
  $items = array();
  $items['admin/user/captcha/foo_captcha'] = array(
    'title' => 'Foo CAPTCHA',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'foo_captcha_settings_form',
    ),
    'access arguments' => array(
      'administer CAPTCHA settings',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}