You are here

function vud_comment_handler_field_widget::options_form in Vote Up/Down 7

Same name and namespace in other branches
  1. 6.3 vud_comment/views/vud_comment_handler_field_widget.inc \vud_comment_handler_field_widget::options_form()
  2. 6.2 vud_comment/views/vud_comment_handler_field_widget.inc \vud_comment_handler_field_widget::options_form()

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

Overrides views_handler_field::options_form

File

vud_comment/views/vud_comment_handler_field_widget.inc, line 22
Provide a handler for Vote Up/down widget field for comments.

Class

vud_comment_handler_field_widget
A handler that provides a Vote Up/Down widget field for comments.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  // It doesn't make sense to have the ability to alter the output.
  $form['alter']['#access'] = FALSE;
}