You are here

function riddler_menu in Captcha Riddler 6

Same name and namespace in other branches
  1. 5 riddler.module \riddler_menu()
  2. 7 riddler.module \riddler_menu()

Implementation of hook_menu().

File

./riddler.module, line 39
Adds a question and answer type to the Captcha module.

Code

function riddler_menu() {
  $items = array();
  $items['admin/user/captcha/riddler'] = array(
    'title' => 'Riddler',
    'description' => 'Allows you to force a question to a number of forms to counter f.e. spammers.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'riddler_settings',
    ),
    'access arguments' => array(
      'administer riddler',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}