You are here

function commerce_wishlist_handler_field_remove::options_form in Commerce Wishlist 7.3

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

Overrides views_handler_field::options_form

File

includes/views/handlers/commerce_wishlist_handler_field_remove.inc, line 18
Remove item form field handler implementation.

Class

commerce_wishlist_handler_field_remove
Field handler to present a link to remove a product for wishlist.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
}