1 views_handler_field_node.inc | views_handler_field_node::options_form(&$form, &$form_state) |
Provide link to node option
Overrides views_handler_field::options_form
File
- core/
modules/ node/ views/ views_handler_field_node.inc, line 36 - Contains the basic 'node' field handler.
Class
- views_handler_field_node
- Field handler to provide simple renderer that allows linking to a node. Definition terms:
Code
function options_form(&$form, &$form_state) {
$form['link_to_node'] = array(
'#title' => t('Link this field to the original piece of content'),
'#description' => t("Enable to override this field's links."),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_node']),
);
parent::options_form($form, $form_state);
}