function tft_get_file_setting in Taxonomy File Tree 7
Same name and namespace in other branches
- 7.2 tft.module \tft_get_file_setting()
Get the settings for the node type used as the 'file'.
Return value
array An array with a 'type' key for the node type and a 'field' key for the filefield
5 calls to tft_get_file_setting()
- tft_add_content_links in ./
tft.module - Render the add file and add folder links.
- tft_form_alter in ./
tft.module - Implementation of hook_form_alter()
- tft_get_content in ./
tft.module - Get the folder content and return it in an array form for the theme_table call
- tft_node_prepare in ./
tft.module - Implementation of hook_node_prepare()
- theme_tft_manage_folders_form in ./
tft.admin.inc - Theme the term reordering form.
File
- ./
tft.module, line 1243 - Module hooks.
Code
function tft_get_file_setting() {
return array(
'type' => 'tft_file',
'field' => 'tft_file',
);
}