function protected_submissions_menu in Protected Submissions 7
Implements hook_menu().
File
- ./
protected_submissions.module, line 67 - Blocks submissions from anonymous users that contain pre-defined strings.
Code
function protected_submissions_menu() {
$items = array();
$items['admin/config/content/protected_submissions'] = array(
'title' => 'Protected Submissions',
'description' => 'Configure the Protected Submissions module settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'protected_submissions_config',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}