You are here

function cmis_theme in CMIS API 8

Same name and namespace in other branches
  1. 8.2 cmis.module \cmis_theme()
  2. 3.0.x cmis.module \cmis_theme()

Implements hook_theme().

File

./cmis.module, line 39
Contains cmis.module.

Code

function cmis_theme() {
  return array(
    'cmis_browser_folder_item' => array(
      'variables' => array(
        'element' => NULL,
      ),
      'template' => 'cmis-browser-folder-item',
    ),
    'cmis_browser_document_item' => array(
      'variables' => array(
        'element' => NULL,
        'mime_type' => NULL,
        'title' => NULL,
      ),
      'template' => 'cmis-browser-document-item',
    ),
    'cmis_browser_other_item' => array(
      'variables' => array(
        'element' => NULL,
      ),
      'template' => 'cmis-browser-other-item',
    ),
    'cmis_browser_document_details' => [
      'variables' => array(
        'title' => NULL,
        'mime_type' => NULL,
        'size' => NULL,
      ),
      'template' => 'cmis-browser-details',
    ],
    'cmis_browser' => array(
      'variables' => [
        'elements' => NULL,
        'header' => NULL,
        'breadcrumbs' => NULL,
        'operations' => NULL,
      ],
      'template' => 'cmis-browser',
    ),
    'cmis_content_properties' => array(
      'variables' => [
        'object' => NULL,
        'download' => NULL,
      ],
      'template' => 'cmis-content-properties',
    ),
    'cmis_object_delete_verify' => array(
      'variables' => [
        'title' => NULL,
        'description' => NULL,
        'link' => NULL,
      ],
      'template' => 'cmis-object-delete-verify',
    ),
    'cmis_query' => array(
      'variables' => [
        'elements' => NULL,
        'header' => NULL,
      ],
      'template' => 'cmis-query',
    ),
  );
}