public function views_handler_field_node_path::options_form in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/node/views_handler_field_node_path.inc \views_handler_field_node_path::options_form()
- 6.2 modules/node/views_handler_field_node_path.inc \views_handler_field_node_path::options_form()
Default options form 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 36 - Definition of views_handler_field_node_path.
Class
- views_handler_field_node_path
- Field handler to present the path to the node.
Code
public 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',
);
}