function commerce_payment_handler_field_payment_method::options_form in Commerce Core 7
Provide the link to order option.
Overrides views_handler_field::options_form
File
- modules/
payment/ includes/ views/ handlers/ commerce_payment_handler_field_payment_method.inc, line 18
Class
- commerce_payment_handler_field_payment_method
- Field handler to translate a payment method ID into its readable form.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['title'] = array(
'#title' => t('Display the payment method using the following title'),
'#type' => 'radios',
'#options' => array(
'method_id' => t('The payment method ID'),
'title' => t('The full administrative title of the payment method'),
'short_title' => t('A short version of the title safe to display to all'),
'display_title' => t('The title displayed on the checkout form (may include HTML)'),
),
'#default_value' => $this->options['title'],
);
}