You are here

function cmis_content_menu in CMIS API 6

Implementation of hook_menu() for CMIS module.

File

cmis_content/cmis_content.module, line 6

Code

function cmis_content_menu() {
  $items = array();
  $items['cmis/create'] = array(
    'type' => MENU_NORMAL_ITEM,
    'title' => t('Create CMIS Content'),
    'page callback' => 'cmis_content_create',
    'access callback' => 'user_access',
    'access arguments' => array(
      'access cmis',
    ),
  );
  $items['cmis/get'] = array(
    'type' => MENU_CALLBACK,
    'page callback' => 'cmis_content_get',
    'access callback' => 'user_access',
    'access arguments' => array(
      'access cmis',
    ),
  );
  $items['cmis/block_settings_more_items_js'] = array(
    'page callback' => 'cmis_block_settings_more_items_js',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}