You are here

function riddler_menu in Captcha Riddler 7

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

Implementation of hook_menu().

File

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

Code

function riddler_menu() {
  $items = array();
  $items['admin/config/people/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;
}