You are here

function slickgrid_menu in Slickgrid 7

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

Implementation of hook_menu().

File

./slickgrid.module, line 17

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' => 'includes/slickgrid.callbacks.inc',
  );
  return $items;
}