function views_handler_field_watchdog_message::options_form in Views Watchdog 6
Same name and namespace in other branches
- 6.3 views/handlers/views_handler_field_watchdog_message.inc \views_handler_field_watchdog_message::options_form()
- 6.2 views/handlers/views_handler_field_watchdog_message.inc \views_handler_field_watchdog_message::options_form()
- 7.3 views/handlers/views_handler_field_watchdog_message.inc \views_handler_field_watchdog_message::options_form()
File
- views/
handlers/ views_handler_field_watchdog_message.inc, line 31 - Views callbacks for the "Views watchdog" module.
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['watchdog_message_link'] = array(
'#type' => 'checkbox',
'#title' => t('Link this field to its message'),
'#description' => t('This will override any other link you have set.'),
'#default_value' => $this->options['watchdog_message_link'],
);
}