You are here

function css_captcha_menu in CAPTCHA Pack 5

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

Implementation of hook_menu().

File

css_captcha/css_captcha.module, line 20

Code

function css_captcha_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/user/captcha/css_captcha',
      'title' => t('CSS CAPTCHA'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'css_captcha_settings_form',
      ),
      'type' => MENU_LOCAL_TASK,
    );
  }
  return $items;
}