function node_view_permissions_menu in Node View Permissions 7
Implements hook_menu().
File
- ./
node_view_permissions.module, line 13
Code
function node_view_permissions_menu() {
$items = array();
$items['admin/config/content/node-view-permissions'] = array(
'title' => 'Node view permissions',
'description' => 'Adds extra permissions "View own content" and "View any content" for each content type.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'node_view_permissions_settings_page_form',
),
'file' => 'includes/pages/node_view_permissions.settings.inc',
'access arguments' => array(
'administer site configuration',
),
);
return $items;
}