You are here

function captcha_questions_dblog_menu in Captcha Questions 7

Implements hook_menu().

File

captcha_questions_dblog/captcha_questions_dblog.module, line 12
Enables logging and display of failed form submissions.

Code

function captcha_questions_dblog_menu() {
  $items = array();
  $items['admin/config/people/captcha_questions/failed_submissions'] = array(
    'title' => 'Failed submissions',
    'description' => 'Lists all failed submissions from captcha questions',
    'page callback' => 'captcha_questions_dblog_view',
    'access arguments' => array(
      'administer captcha questions settings',
    ),
    'access callback' => TRUE,
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}