function advanced_forum_forum_topic_list_content_type_edit_form in Advanced Forum 7.2
Same name and namespace in other branches
- 6.2 plugins/content_types/forum_topic_list.inc \advanced_forum_forum_topic_list_content_type_edit_form()
Returns an edit form for the custom type.
File
- plugins/
content_types/ forum_topic_list.inc, line 69 - Forum topic list.
Code
function advanced_forum_forum_topic_list_content_type_edit_form($form, &$form_state) {
$conf = $form_state['conf'];
$form['show_sort'] = array(
'#type' => 'checkbox',
'#title' => t('Show sort form'),
'#description' => t('If checked the sort form will appear at the top of the table. Uncheck this if you wish it to appear in a separate pane.'),
'#default_value' => !empty($conf['show_sort']),
);
return $form;
}