function views_handler_field_history_user_timestamp::options_form in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 modules/node/views_handler_field_history_user_timestamp.inc \views_handler_field_history_user_timestamp::options_form()
- 7.3 modules/node/views_handler_field_history_user_timestamp.inc \views_handler_field_history_user_timestamp::options_form()
Provide link to node option
Overrides views_handler_field_node::options_form
File
- modules/
node/ views_handler_field_history_user_timestamp.inc, line 28
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']),
);
}
}