You are here

function pay_handler_field_pay_form::options_form in Pay 7

Same name and namespace in other branches
  1. 6 includes/views/pay_handler_field_pay_form.inc \pay_handler_field_pay_form::options_form()

Default options form provides the label widget that all fields should have.

Overrides views_handler_field::options_form

File

includes/views/pay_handler_field_pay_form.inc, line 15
A Views field handler that lists payment forms.

Class

pay_handler_field_pay_form
@file A Views field handler that lists payment forms.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['display'] = array(
    '#type' => 'select',
    '#title' => t('Display form as'),
    '#options' => pay_form_displays_list(),
    '#default_value' => $this->options['display'],
  );
}