function views_term_path_handler_field_path::options_form in Views Term Path 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- ./
views_term_path_handler_field_path.inc, line 30 - Handler for term path field.
Class
- views_term_path_handler_field_path
- Field handler to present the path to the term.
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',
);
}