function views_handler_field_url::options_form

3.x views_handler_field_url.inc views_handler_field_url::options_form(&$form, &$form_state)
2.x views_handler_field_url.inc views_handler_field_url::options_form(&$form, &$form_state)

Provide link to the page being visited.

Overrides views_handler_field::options_form

File

handlers/views_handler_field_url.inc, line 25
Definition of views_handler_field_url.

Class

views_handler_field_url
Field handler to provide simple renderer that turns a URL into a clickable link.

Code

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);
}