You are here

function slickgrid_menu in Slickgrid 6

Same name and namespace in other branches
  1. 7.2 slickgrid.module \slickgrid_menu()
  2. 7 slickgrid.module \slickgrid_menu()

Implementation of hook_menu().

File

./slickgrid.module, line 42

Code

function slickgrid_menu() {

  // Menu callbacks
  $items[SLICKGRID_CALLBACK_PATH . '/%'] = array(
    'page callback' => 'slickgrid_callback',
    'page arguments' => array(
      2,
    ),
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'slickgrid.callbacks.inc',
  );
  return $items;
}