You are here

function beautytips_manager_menu in BeautyTips 6.2

Same name and namespace in other branches
  1. 7.2 beautytips_manager.module \beautytips_manager_menu()

Implementation of hook_menu().

File

./beautytips_manager.module, line 6

Code

function beautytips_manager_menu() {
  $items['admin/settings/beautytips/manager'] = array(
    'title' => 'BeautyTips Manager',
    'page callback' => 'beautytips_manager_tips_manager_page',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/settings/beautytips/manager/%/edit'] = array(
    'title' => 'BeautyTips Manager Edit',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'beautytips_manager_admin',
      4,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/beautytips/manager/%/delete'] = array(
    'title' => 'BeautyTips Manager Delete',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'beautytips_manager_delete_confirm_form',
      4,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/beautytips/manager/add'] = array(
    'title' => 'BeautyTips Manager Add',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'beautytips_manager_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}