function views_handler_sort_watchdog_timestamp::options_form in Views Watchdog 7.3
Basic options for all sort criteria
Overrides views_handler_sort_date::options_form
File
- views/
handlers/ views_handler_sort_watchdog_timestamp.inc, line 26 - Views field handler for the views_watchdog module.
Class
- views_handler_sort_watchdog_timestamp
- Provides watchdog event ID as secondary sort for the timestamp field.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['watchdog_timestamp_secondary_sort'] = array(
'#type' => 'checkbox',
'#title' => t('Add watchdog event ID as secondary sort field.'),
'#description' => t('Useful if several watchdog entries have the same timestamp.'),
'#default_value' => !empty($this->options['watchdog_timestamp_secondary_sort']),
);
}