You are here

function _cmis_content_block_settings_path_form in CMIS API 6

2 calls to _cmis_content_block_settings_path_form()
cmis_block_settings_more_items_js in cmis_content/cmis_content.module
cmis_content_block in cmis_content/cmis_content.module
Implementation of hook_block() for CMIS content module.

File

cmis_content/cmis_content.module, line 303

Code

function _cmis_content_block_settings_path_form($delta, $value = '/') {
  return array(
    '#type' => 'textfield',
    '#title' => t('Target document path @n', array(
      '@n' => $delta + 1,
    )),
    '#default_value' => $value,
    '#description' => t('The document path relative to the root of the repository.'),
    '#autocomplete_path' => 'cmis/autocomplete',
    '#size' => 60,
    '#parents' => array(
      'cmis_target_document_items',
      $delta,
    ),
  );

  //return $form;
}