function commerce_payment_handler_field_status::options_form in Commerce Core 7
Provide the checkbox for enabling the Add payment form..
Overrides views_handler_field::options_form
File
- modules/
payment/ includes/ views/ handlers/ commerce_payment_handler_field_status.inc, line 19
Class
- commerce_payment_handler_field_status
- Field handler for the payment transaction status.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['display_style'] = array(
'#type' => 'select',
'#title' => t('Display style'),
'#options' => array(
'icon' => t('Status icon'),
'title' => t('Status title'),
'raw' => t('Raw status'),
),
'#default_value' => $this->options['display_style'],
);
}