You are here

function sharedemail_menu in Shared Email 5

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

Implementation of hook_menu().

File

./sharedemail.module, line 29
Allows users to share an email address

Code

function sharedemail_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/sharedemail',
      'title' => t('Sharedemail'),
      'description' => t('Configure the message that sharedemail displays.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'sharedemail_admin_settings',
      ),
      'access' => user_access('administer sharedemail'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}