You are here

function tft_theme in Taxonomy File Tree 7.2

Same name and namespace in other branches
  1. 8 tft.module \tft_theme()
  2. 7 tft.module \tft_theme()
  3. 3.x tft.module \tft_theme()

Implements hook_theme().

Related topics

File

./tft.module, line 165
Hook implementations and module logic for TFT.

Code

function tft_theme() {
  return array(
    'tft' => array(
      'variables' => array(
        'folder_name' => NULL,
        'folder_menu' => NULL,
        'folder_content' => NULL,
        'folder_add_content_links' => NULL,
      ),
      'template' => 'theme/tft',
    ),
    'tft_folder_explorer' => array(
      'variables' => array(
        'folders' => NULL,
        'vid' => NULL,
      ),
      'template' => 'theme/tft-folder-explorer',
    ),
    'tft_folder_menu' => array(
      'variables' => array(
        'name' => NULL,
        'path' => '/',
        'ops_links' => '',
      ),
      'template' => 'theme/tft-folder-menu',
    ),
    'tft_manage_folders_form' => array(
      'render element' => 'form',
    ),
  );
}