function services_views_menu in Services Views 7
Implements hook_menu().
File
- ./
services_views.module, line 20 - Provides a generic but powerful API for web services.
Code
function services_views_menu() {
$menu = array();
$menu['admin/reports/insecure-view-displays'] = array(
'title' => 'Insecure View Displays Report',
'page callback' => 'services_views_insecure_view_displays_report',
'access arguments' => array(
'administer views',
),
);
$menu['admin/structure/services/list/%/view_resource'] = array(
'title' => 'View Resource Settings',
'page callback' => 'services_views_view_resource_settings',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer services',
),
'type' => MENU_LOCAL_TASK,
);
return $menu;
}