You are here

function webform_template_menu in Webform Template 6

Same name and namespace in other branches
  1. 7.4 webform_template.module \webform_template_menu()
  2. 7 webform_template.module \webform_template_menu()

Implementation of hook_menu().

File

./webform_template.module, line 6

Code

function webform_template_menu() {
  $items = array();

  // Admin Settings.
  $items['admin/settings/webform_template'] = array(
    'title' => 'Webform template settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'webform_template_config_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'Enable webform template for content types',
    'file' => 'includes/webform_template.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}