You are here

function contact_attach_menu in Contact Attach 7

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

Implements hook_menu().

File

./contact_attach.module, line 57
Allows attaching files to messages sent using contact forms.

Code

function contact_attach_menu() {
  $items['admin/config/media/contact_attach'] = array(
    'title' => 'Contact form attachments',
    'description' => 'Configure settings for attaching files on contact forms.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'contact_attach_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'contact_attach.admin.inc',
  );
  return $items;
}