You are here

function views_handler_field_node_path::options_form in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/node/views_handler_field_node_path.inc \views_handler_field_node_path::options_form()
  2. 7.3 modules/node/views_handler_field_node_path.inc \views_handler_field_node_path::options_form()

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

Overrides views_handler_field::options_form

File

modules/node/views_handler_field_node_path.inc, line 20

Class

views_handler_field_node_path
Field handler to present the path to the node.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['absolute'] = array(
    '#type' => 'checkbox',
    '#title' => t('Use absolute link (begins with "http://")'),
    '#default_value' => $this->options['absolute'],
    '#description' => t('If you want to use this as in "output this field as link" in "link path", you must enable this option.'),
  );
}