You are here

function views_handler_filter_watchdog_message::_options_form in Views Watchdog 7.3

Same name and namespace in other branches
  1. 6.3 views/handlers/views_handler_filter_watchdog_message.inc \views_handler_filter_watchdog_message::_options_form()
  2. 6.2 views/handlers/views_handler_filter_watchdog_message.inc \views_handler_filter_watchdog_message::_options_form()

File

views/handlers/views_handler_filter_watchdog_message.inc, line 29
Views filter handler for the views_watchdog module.

Class

views_handler_filter_watchdog_message
Provides message filter options for the watchdog entry.

Code

function _options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['watchdog_message_search_variables'] = array(
    '#type' => 'checkbox',
    '#title' => t('Search also in field Variables'),
    '#description' => t('If field Message is formatted, it is recommended to search also in field Variables.'),
    '#default_value' => !empty($this->options['watchdog_message_search_variables']),
  );
}