function lost_character_captcha_menu in CAPTCHA Pack 5
Same name and namespace in other branches
- 6 text_captcha/lost_character_captcha/lost_character_captcha.module \lost_character_captcha_menu()
- 7 text_captcha/lost_character_captcha/lost_character_captcha.module \lost_character_captcha_menu()
Implementation of hook_menu().
File
- text_captcha/
lost_character_captcha/ lost_character_captcha.module, line 21
Code
function lost_character_captcha_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/user/captcha/lost_character_captcha',
'title' => t('Lost characters'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'lost_character_captcha_settings_form',
),
'type' => MENU_LOCAL_TASK,
);
}
return $items;
}