function cmis_query_menu in CMIS API 6
Same name and namespace in other branches
- 6.4 cmis_query/cmis_query.module \cmis_query_menu()
- 6.2 cmis_query/cmis_query.module \cmis_query_menu()
- 6.3 cmis_query/cmis_query.module \cmis_query_menu()
- 7.2 cmis_query/cmis_query.module \cmis_query_menu()
- 7 cmis_query/cmis_query.module \cmis_query_menu()
Implementation of hook_menu() for CMIS search module.
File
- cmis_query/
cmis_query.module, line 12 - Search functions
Code
function cmis_query_menu() {
$items = array();
$items['cmis/query'] = array(
'type' => MENU_NORMAL_ITEM,
'title' => t('CMIS Query'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cmis_query_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'access cmis',
),
);
return $items;
}