function vud_node_handler_field_widget::options_form in Vote Up/Down 7
Same name and namespace in other branches
- 6.3 vud_node/views/vud_node_handler_field_widget.inc \vud_node_handler_field_widget::options_form()
- 6.2 vud_node/views/vud_node_handler_field_widget.inc \vud_node_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_node/
views/ vud_node_handler_field_widget.inc, line 21 - Provide a handler for Vote Up/down widget field for nodes.
Class
- vud_node_handler_field_widget
- A handler that provides a Vote Up/Down widget field for nodes.
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;
}