public function views_handler_field_comment_link_edit::options_form in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/comment/views_handler_field_comment_link_edit.inc \views_handler_field_comment_link_edit::options_form()
- 6.2 modules/comment/views_handler_field_comment_link_edit.inc \views_handler_field_comment_link_edit::options_form()
Default options form provides the label widget that all fields should have.
Overrides views_handler_field_comment_link::options_form
File
- modules/
comment/ views_handler_field_comment_link_edit.inc, line 28 - Definition of views_handler_field_comment_link_edit.
Class
- views_handler_field_comment_link_edit
- Field handler to present a link node edit.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['destination'] = array(
'#type' => 'checkbox',
'#title' => t('Use destination'),
'#description' => t('Add destination to the link'),
'#default_value' => $this->options['destination'],
'#fieldset' => 'more',
);
}