function cmis_menu in CMIS API 6
Same name and namespace in other branches
- 6.2 cmis.module \cmis_menu()
Implementation of hook_menu() for CMIS module.
File
- ./
cmis.module, line 51
Code
function cmis_menu() {
$items = array();
$items['admin/settings/cmis'] = array(
'title' => 'CMIS Settings',
'description' => 'Connection settings to CMIS repositories',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cmis_admin_settings',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer cmis',
),
);
$items['cmis/autocomplete'] = array(
'title' => t('cmis path autocomplete'),
'page callback' => 'cmis_path_autocomplete',
'access callback' => 'user_access',
'access arguments' => array(
'access cmis',
),
'type' => MENU_CALLBACK,
);
return $items;
}