function publishcontent_test_menu in Publish Content 7
Implements hook_menu().
File
- tests/
publishcontent_test.module, line 12 - A dummy module for listing all nodes with their publish, unpublish callback links to test permissions with.
Code
function publishcontent_test_menu() {
$items = array();
$items['publishcontent-links'] = array(
'title' => 'Node access test',
'page callback' => 'publishcontent_test_nodes',
'access arguments' => array(
'access content',
),
'type' => MENU_SUGGESTED_ITEM,
);
return $items;
}