You are here

function math_captcha_menu in CAPTCHA Pack 5

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

Implementation of hook_menu().

File

math_captcha/math_captcha.module, line 11

Code

function math_captcha_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/user/captcha/math_captcha',
      'title' => t('Math CAPTCHA'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'math_captcha_settings_form',
      ),
      'type' => MENU_LOCAL_TASK,
    );
  }
  return $items;
}