function ajax_comments_handler_field_list_comments::options_form in AJAX Comments 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- views/
ajax_comments_handler_field_list_comments.inc, line 20 - Definition of ajax_comments_handler_field_list_comments. TODO: Comments per page as setting TODO: Flat or nested as option
Class
- ajax_comments_handler_field_list_comments
- Handler for showing an ajaxified list of comments.
Code
function options_form(&$form, &$form_state) {
$form['ajax_comments_display_add_comment_form'] = array(
'#title' => t('Show Add Comment form'),
'#description' => t("Enable to display the Add Comment form below the list of comments."),
'#type' => 'checkbox',
'#default_value' => $this->options['ajax_comments_display_add_comment_form'],
);
parent::options_form($form, $form_state);
}