You are here

function beautytips_menu in BeautyTips 6

Same name and namespace in other branches
  1. 6.2 beautytips.module \beautytips_menu()
  2. 7.2 beautytips.module \beautytips_menu()

Implementation of hook_menu.

File

./beautytips.module, line 90
Provides API for adding beautytips to pages. Adds Beautytips settings page and provides some built in functionality.

Code

function beautytips_menu() {
  $items = array();
  $items['admin/settings/beautytips'] = array(
    'title' => 'BeautyTips',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'beautytips_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['beautytips/settings/form_ids'] = array(
    'page callback' => 'beautytips_form_id_off',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}