You are here

function cmis_theme in CMIS API 8.2

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

Implements hook_theme().

File

./cmis.module, line 31

Code

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