You are here

function views_handler_field_comment_link::options_form in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/comment/views_handler_field_comment_link.inc \views_handler_field_comment_link::options_form()
  2. 7.3 modules/comment/views_handler_field_comment_link.inc \views_handler_field_comment_link::options_form()

Default options form that provides the label widget that all fields should have.

Overrides views_handler_field::options_form

1 call to views_handler_field_comment_link::options_form()
views_handler_field_comment_link_edit::options_form in modules/comment/views_handler_field_comment_link_edit.inc
Default options form that provides the label widget that all fields should have.
1 method overrides views_handler_field_comment_link::options_form()
views_handler_field_comment_link_edit::options_form in modules/comment/views_handler_field_comment_link_edit.inc
Default options form that provides the label widget that all fields should have.

File

modules/comment/views_handler_field_comment_link.inc, line 18

Class

views_handler_field_comment_link
Base field handler to present a link.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
}