function better_comments_customize_comment_form in Better Comments 7.2
Same name and namespace in other branches
- 7 better_comments.module \better_comments_customize_comment_form()
Remove the text filter format options.
1 string reference to 'better_comments_customize_comment_form'
- better_comments_form_comment_form_alter in ./
better_comments.module - Implements hook_form_comments_form_alter().
File
- ./
better_comments.module, line 501 - Better Comments provides option to configure the comment system.
Code
function better_comments_customize_comment_form(&$form) {
$form[LANGUAGE_NONE][0]['format']['guidelines']['#access'] = FALSE;
$form[LANGUAGE_NONE][0]['format']['help']['#access'] = FALSE;
$form[LANGUAGE_NONE][0]['format']['#attributes'] = array(
'style' => 'display: none;',
);
return $form;
}