function commerce_payment_handler_field_payment_transaction_link::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/
payment/ includes/ views/ handlers/ commerce_payment_handler_field_payment_transaction_link.inc, line 22
Class
- commerce_payment_handler_field_payment_transaction_link
- Field handler to present a link to a payment transaction.
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'],
);
}