function commerce_backoffice_handler_field_node_operations::options_form in Commerce Backoffice 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
views/ handlers/ commerce_backoffice_handler_field_node_operations.inc, line 18
Class
- commerce_backoffice_handler_field_node_operations
- Displays the node operations in a ctools dropbutton.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['add_quick_edit'] = array(
'#type' => 'checkbox',
'#title' => t('Add the quick edit link for product displays.'),
'#default_value' => $this->options['add_quick_edit'],
);
$form['add_destination'] = array(
'#type' => 'checkbox',
'#title' => t('Add a destination parameter to operations links so users return to this View on form submission.'),
'#default_value' => $this->options['add_destination'],
);
}