You are here

function editor_note_menu in Editor Notes 7

Implements hook_menu().

File

./editor_note.module, line 97
Main functionality for Editor Notes module.

Code

function editor_note_menu() {
  $items['editor_note/edit/%ctools_js/%/%'] = array(
    'title' => 'Update note',
    'page arguments' => array(
      2,
      4,
    ),
    'page callback' => 'editor_note_confirm_edit_page',
    'access callback' => 'editor_note_access_crud_operations',
    'access arguments' => array(
      3,
      4,
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'editor_note.pages.inc',
    'theme callback' => 'ajax_base_page_theme',
  );
  $items['editor_note/remove/%ctools_js/%/%'] = array(
    'title' => 'Remove note',
    'page arguments' => array(
      2,
      4,
    ),
    'page callback' => 'editor_note_confirm_remove_page',
    'access callback' => 'editor_note_access_crud_operations',
    'access arguments' => array(
      3,
      4,
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'editor_note.pages.inc',
    'theme callback' => 'ajax_base_page_theme',
  );
  return $items;
}