You are here

public function better_watchdog_ui_handler_field_watchdog_message::options_form in Better Watchdog UI 7.3

Same name and namespace in other branches
  1. 8 views/handlers/better_watchdog_ui_handler_field_watchdog_message.inc \better_watchdog_ui_handler_field_watchdog_message::options_form()
  2. 7 views/handlers/better_watchdog_ui_handler_field_watchdog_message.inc \better_watchdog_ui_handler_field_watchdog_message::options_form()
  3. 7.2 views/handlers/better_watchdog_ui_handler_field_watchdog_message.inc \better_watchdog_ui_handler_field_watchdog_message::options_form()

Link to watchdog option form.

Overrides views_handler_field::options_form

File

views/handlers/better_watchdog_ui_handler_field_watchdog_message.inc, line 30
Definition of better_watchdog_ui_handler_field_watchdog_message.

Class

better_watchdog_ui_handler_field_watchdog_message
Provides message display options for the watchdog entry.

Code

public function options_form(&$form, &$form_state) {
  $form['link_to_watchdog'] = array(
    '#title' => t('Link this field to the watchdog entry'),
    '#description' => t("Enable to override this field's links."),
    '#type' => 'checkbox',
    '#default_value' => $this->options['link_to_watchdog'],
  );
  parent::options_form($form, $form_state);
}