Closed (fixed)
Project:
Edit Limit
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2012 at 20:52 UTC
Updated:
15 Jun 2012 at 02:21 UTC
You have this in hook_menu:
// more complex menu item
$items['TODO: Enter path'] = array(
'title' => 'TODO: Enter menu item title',
'description' => 'TODO: Enter description',
'page callback' => 'TODO: Enter callback function',
'page arguments' => '', // An array of arguments to pass to the page callback function. Integer values pass the corresponding URL component.
'access callback' => '', // defaults to user_access()
'access arguments' => array('TODO: Enter user permissions'),
'weight' => 0,
'type' => MENU_NORMAL_ITEM, // One of MENU_NORMAL_ITEM / MENU_CALLBACK / MENU_SUGGESTED_ITEM / MENU_LOCAL_TASK / MENU_DEFAULT_LOCAL_TASK
'menu_name' => '', // Menu to place this item in.
'title callback' => '', // Function to generate the title, defaults to t().
'title arguments' => '', // Arguments to send to t() or your custom callback.
);
// OPTIONAL: Fill in additional static menu items
Comments
Comment #1
quade commentedChanging version of this issue to 6.x since that's the only version that this code exists in.
I've removed this example menu item, and the change will be in the new release for 6.x-1.0.
Comment #2
quade commented