You are here

function asset_theme in Asset 7

Same name and namespace in other branches
  1. 6 asset.module \asset_theme()

Implements hook_theme().

File

./asset.module, line 844
Asset module.

Code

function asset_theme() {
  $base = array(
    'path' => ASSET_MODULE_PATH . '/theme',
  );
  return array(
    'asset' => array(
      'render element' => 'elements',
      'template' => 'asset',
    ) + $base,
    'asset_form_page' => array(
      'template' => 'asset-form',
    ) + $base,
    'asset_pure' => array(
      'template' => 'asset-pure',
    ) + $base,
    'asset_tooltip' => array(
      'render element' => 'page',
      'template' => 'asset-tooltip',
    ) + $base,
    'asset_wrapper' => array(
      'render element' => 'element',
      'template' => 'asset-wrapper',
      'file' => 'theme.inc',
    ) + $base,
    'asset_editor_wrapper' => array(
      'render element' => 'element',
      'template' => 'asset-editor-wrapper',
    ) + $base,
  );
}