function views_handler_field_comment_node_link::options_form in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 modules/comment/views_handler_field_comment_node_link.inc \views_handler_field_comment_node_link::options_form()
- 7.3 modules/comment/views_handler_field_comment_node_link.inc \views_handler_field_comment_node_link::options_form()
Default options form that provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- modules/
comment/ views_handler_field_comment_node_link.inc, line 27
Class
- views_handler_field_comment_node_link
- Handler for showing comment module's node link.
Code
function options_form(&$form, &$form_state) {
parent::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.'),
);
}