function boost_captcha_menu in Boost Captcha 6
Same name and namespace in other branches
- 7 boost_captcha.module \boost_captcha_menu()
Implementation of hook_menu().
File
- ./
boost_captcha.module, line 23
Code
function boost_captcha_menu() {
$items = array();
$items['admin/settings/boost-captcha'] = array(
'title' => 'Boost Captcha',
'description' => 'Configure boost captcha settings form.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'boost_captcha_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
$items['ajax/boost-captcha/get-captcha/%'] = array(
'title' => 'Captcha retrieval',
'description' => 'Retrieve updated captcha for form.',
'page callback' => 'boost_captcha_retrieve_captcha',
'page arguments' => array(
3,
),
'access callback' => TRUE,
'type' => MENU_NORMAL_ITEM,
);
return $items;
}