function views_handler_field_node_revision::options_form
Provide link to revision option.
Overrides views_handler_field_node::options_form
File
-
modules/
node/ views_handler_field_node_revision.inc, line 41
Class
- views_handler_field_node_revision
- Contains the basic 'node_revision' field handler.
Code
public function options_form(&$form, &$form_state) {
$form['link_to_node_revision'] = array(
'#title' => t('Link this field to its content revision'),
'#description' => t('This will override any other link you have set.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['link_to_node_revision']),
);
parent::options_form($form, $form_state);
}