function commerce_wishlist_handler_field_product_link_remove::options_form in Commerce Wishlist 7.2
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_remove.inc, line 24
Class
- commerce_wishlist_handler_field_product_link_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'],
);
}