You are here

function gnode_menu in Group 7

Implements hook_menu().

File

modules/gnode/gnode.router.inc, line 10
Contains all router functions for the Group Node module.

Code

function gnode_menu() {
  $items['group/%group/node/add/%'] = array(
    'title' => 'Add node',
    'title callback' => 'gnode_add_node_title',
    'title arguments' => array(
      4,
    ),
    'page callback' => 'gnode_node_add',
    'page arguments' => array(
      1,
      4,
    ),
    'access callback' => 'gnode_add_node_access',
    'access arguments' => array(
      1,
      4,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}