1.20.x views_handler_field_comment_node_link.inc | views_handler_field_comment_node_link::options_form(&$form, &$form_state) |
Default options form that provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- modules/
comment/ views/ views_handler_field_comment_node_link.inc, line 35 - Definition of views_handler_field_comment_node_link.
Class
- views_handler_field_comment_node_link
- Handler for showing comment module's node link.
Code
function options_form(&$form, &$form_state) {
$form['teaser'] = array(
'#type' => 'checkbox',
'#title' => t('Show teaser-style link'),
'#default_value' => $this->options['teaser'],
'#description' => t('Show the comment link in the form used on standard node teasers, rather than the full node form.'),
);
parent::options_form($form, $form_state);
}