You are here

function commerce_wishlist_handler_field_product_link_delete::options_form in Commerce Wishlist 7

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_product_link_delete.inc, line 21

Class

commerce_wishlist_handler_field_product_link_delete
Field handler to present a link to delete 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'],
  );
}