You are here

function contact_attach_menu in Contact Attach 5

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

Implementation of hook_menu().

File

./contact_attach.module, line 47
This is the main code file for the Contact attach module. This module gives users the ability of attaching one or more files to e-mails sent using the site-wide contact form.

Code

function contact_attach_menu($may_cache) {
  $items = array();
  $items[] = array(
    'path' => 'admin/settings/contact_attach',
    'title' => t('Contact attach'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'contact_attach_admin_settings',
    ),
    'access' => user_access('administer site configuration'),
    'description' => t('Configure the Contact attach module.'),
  );
  return $items;
}