You are here

function makemeeting_menu in Make Meeting Scheduler 7.2

Same name and namespace in other branches
  1. 6 makemeeting.module \makemeeting_menu()
  2. 7 makemeeting.module \makemeeting_menu()

Implements hook_menu().

File

./makemeeting.module, line 44
Hooks and field implementations

Code

function makemeeting_menu() {
  $items['makemeeting/delete-answer/%makemeeting_answer'] = array(
    'title' => 'Remove an answer',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'makemeeting_delete_answer',
      2,
    ),
    'access callback' => 'makemeeting_delete_answer_access',
    'access arguments' => array(
      2,
    ),
    'file' => 'makemeeting.pages.inc',
    'type' => MENU_CALLBACK,
  );
  $items['makemeeting/edit-answer/%makemeeting_answer'] = array(
    'title' => 'Edit an answer',
    'page callback' => 'makemeeting_edit_answer',
    'page arguments' => array(
      2,
    ),
    'access callback' => 'makemeeting_edit_answer_access',
    'access arguments' => array(
      2,
    ),
    'file' => 'makemeeting.pages.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}