You are here

function commerce_order_handler_field_order_operations::options_form in Commerce Core 7

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

Overrides views_handler_field::options_form

File

modules/order/includes/views/handlers/commerce_order_handler_field_order_operations.inc, line 21

Class

commerce_order_handler_field_order_operations
Field handler to present an order's operations links.

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 edit and delete operation links so users return to this View on form submission.'),
    '#default_value' => $this->options['add_destination'],
  );
}