function word_list_captcha_menu in CAPTCHA Pack 6
Same name and namespace in other branches
- 5 text_captcha/word_list_captcha/word_list_captcha.module \word_list_captcha_menu()
- 7 text_captcha/word_list_captcha/word_list_captcha.module \word_list_captcha_menu()
Implementation of hook_menu().
File
- text_captcha/
word_list_captcha/ word_list_captcha.module, line 21
Code
function word_list_captcha_menu() {
$items = array();
// add an administration tab for phrase_captcha
$items['admin/user/captcha/word_list_captcha'] = array(
'title' => 'Unrelated word',
'file' => 'word_list_captcha.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'word_list_captcha_settings_form',
),
'access arguments' => array(
'administer CAPTCHA settings',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}