1 views_handler_field_node_path.inc views_handler_field_node_path::options_form(&$form, &$form_state)

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

Overrides views_handler_field::options_form

File

core/modules/node/views/views_handler_field_node_path.inc, line 26
Handler for node path field.

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('Enable this option to output an absolute link. Required if you want to use the path as a link destination (as in "output this field as a link" above).'),
    '#fieldset' => 'alter',
  );
}