You are here

function webform_hints_menu in Webform Hints 7

Same name and namespace in other branches
  1. 6 webform_hints.module \webform_hints_menu()

Implements hook_menu().

File

./webform_hints.module, line 80
This module applies the titles of webform components as placeholder hints.

Code

function webform_hints_menu() {
  $menu = array();

  // Main configuration page of the Webform Hints module.
  $menu['admin/config/content/webform-hints'] = array(
    'title' => 'Webform Hints settings',
    'description' => 'Administer which of your Webforms will receive the hints effect.',
    'file' => 'webform_hints.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'webform_hints_admin_settings',
    ),
    'access arguments' => array(
      'administer Webform Hints settings',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $menu;
}