function node_comment_block_block_configure in Node Comment Block 7
Same name and namespace in other branches
- 7.2 node_comment_block.module \node_comment_block_block_configure()
Implements hook_block_configure.
File
- ./
node_comment_block.module, line 101 - Moves the comments for a node into a block.
Code
function node_comment_block_block_configure($delta = '') {
$form['show_form'] = array(
'#type' => 'checkbox',
'#title' => t('Show Comment Form?'),
'#default_value' => variable_get('node_comment_block_show_form_' . $delta, 1),
);
$form['show_comments'] = array(
'#type' => 'checkbox',
'#title' => t('Show Comments?'),
'#default_value' => variable_get('node_comment_block_show_comments_' . $delta, 1),
);
return $form;
}