You are here

function cmis_query_menu in CMIS API 6

Same name and namespace in other branches
  1. 6.4 cmis_query/cmis_query.module \cmis_query_menu()
  2. 6.2 cmis_query/cmis_query.module \cmis_query_menu()
  3. 6.3 cmis_query/cmis_query.module \cmis_query_menu()
  4. 7.2 cmis_query/cmis_query.module \cmis_query_menu()
  5. 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;
}