You are here

function views_handler_field_views_watchdog_message::options_form in Views Watchdog 7.4

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

views/views_handler_field_views_watchdog_message.inc, line 24
Definition of views_handler_field_views_watchdog_message.

Class

views_handler_field_views_watchdog_message
Field handler to display the message of a log entry.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['replace_variables'] = array(
    '#type' => 'checkbox',
    '#title' => t('Replace variables'),
    '#description' => t('If checked, the message will be displayed with replaced variables.'),
    '#default_value' => $this->options['replace_variables'],
  );
}