You are here

function tft_block_view in Taxonomy File Tree 7.2

Same name and namespace in other branches
  1. 7 tft.module \tft_block_view()

Implements hook_block_view().

Related topics

File

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

Code

function tft_block_view() {
  return array(
    'subject' => 'File explorer',
    'content' => theme('tft_folder_explorer', array(
      'folders' => tft_output_tree(tft_folder_tree(0)),
      'vid' => variable_get('tft_vocabulary_vid', 0),
    )),
  );
}