function views_handler_field_history_user_timestamp::options_form

Overrides views_handler_field_node::options_form

File

modules/node/views_handler_field_history_user_timestamp.inc, line 47

Class

views_handler_field_history_user_timestamp
Field handler to display the marker for new content.

Code

public function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);
    if (module_exists('comment')) {
        $form['comments'] = array(
            '#type' => 'checkbox',
            '#title' => t('Check for new comments as well'),
            '#default_value' => !empty($this->options['comments']),
            '#fieldset' => 'more',
        );
    }
}