You are here

public function views_handler_field_accesslog_path::options_form in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/statistics/views_handler_field_accesslog_path.inc \views_handler_field_accesslog_path::options_form()
  2. 6.2 modules/statistics/views_handler_field_accesslog_path.inc \views_handler_field_accesslog_path::options_form()

Provide link to the page being visited.

Overrides views_handler_field::options_form

File

modules/statistics/views_handler_field_accesslog_path.inc, line 39
Definition of views_handler_field_accesslog_path.

Class

views_handler_field_accesslog_path
Provide simple renderer that turns a URL into a clickable link.

Code

public function options_form(&$form, &$form_state) {
  $form['display_as_link'] = array(
    '#title' => t('Display as link'),
    '#type' => 'checkbox',
    '#default_value' => !empty($this->options['display_as_link']),
  );
  parent::options_form($form, $form_state);
}