You are here

function captcha_questions_menu in Captcha Questions 7

Implements hook_menu().

File

./captcha_questions.module, line 22
Module file for the Captcha questions module

Code

function captcha_questions_menu() {
  $items = array();
  $items['admin/config/people/captcha_questions'] = array(
    'title' => 'Captcha questions',
    'description' => 'Administer Captcha questions.',
    'file' => 'captcha_questions.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'captcha_questions_admin_settings',
    ),
    'access arguments' => array(
      'administer captcha questions settings',
    ),
  );
  $items['admin/config/people/captcha_questions/settings'] = array(
    'title' => 'Settings',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -10,
  );
  return $items;
}