1 views_handler_field_history_user_timestamp.inc | views_handler_field_history_user_timestamp::options_form(&$form, &$form_state) |
Provide link to node option
Overrides views_handler_field_node::options_form
File
- core/
modules/ node/ views/ views_handler_field_history_user_timestamp.inc, line 36 - Definition of views_handler_field_history_user_timestamp.
Class
- views_handler_field_history_user_timestamp
- Field handler to display the marker for new content.
Code
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',
);
}
}