You are here

function commerce_coupon_handler_field_coupon_operations::options_form in Commerce Coupon 7

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

Overrides views_handler_field::options_form

File

includes/views/handlers/commerce_coupon_handler_field_coupon_operations.inc, line 23
Coupon.. Field handler to present an order's operations .

Class

commerce_coupon_handler_field_coupon_operations
@file Coupon.. Field handler to present an order's operations .

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