function views_handler_field_bean_operations::options_form in Bean (for Drupal 7) 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- views/
views_handler_field_bean_operations.inc, line 21 - Definition of views_handler_field_bean_operations.
Class
- views_handler_field_bean_operations
- Field handler to present the contextual links of the bean block.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['add_destination'] = array(
'#type' => 'checkbox',
'#title' => t('Add a destination parameter to contextual / operation links so users return to this View on form submission.'),
'#default_value' => $this->options['add_destination'],
);
}