function views_calc_field_handler::options_form in Views Calc 7
Same name and namespace in other branches
- 6.3 views_calc_field_handler.inc \views_calc_field_handler::options_form()
- 6 views_calc_field_handler.inc \views_calc_field_handler::options_form()
Provide link to node option
Overrides views_handler_field::options_form
File
- ./
views_calc_field_handler.inc, line 28 - Copied from the basic 'node' field handler.
Class
- views_calc_field_handler
- Field handler to provide simple renderer that allows linking to a node.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['link_to_node'] = array(
'#title' => t('Link this field to its node'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_node']),
);
}