You are here

function sendgrid_integration_menu in SendGrid Integration 6

Same name and namespace in other branches
  1. 7 sendgrid_integration.module \sendgrid_integration_menu()

Implements hook_menu().

File

./sendgrid_integration.module, line 13
Main module file for SendGrid Integration.

Code

function sendgrid_integration_menu() {
  $items = array();
  $items['admin/settings/sendgrid'] = array(
    'title' => 'SendGrid settings',
    'description' => 'SendGrid Integration settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'sendgrid_integration_admin',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer sendgrid settings',
    ),
  );
  return $items;
}