You are here

function pay_form_displays_list in Pay 7

Same name and namespace in other branches
  1. 6 pay.module \pay_form_displays_list()

Name/value List of meaningful ways in which a payment form can appear.

2 calls to pay_form_displays_list()
pay_handler_field_pay_form::options_form in includes/views/pay_handler_field_pay_form.inc
Default options form provides the label widget that all fields should have.
pay_node_admin_node_type_form_alter in modules/pay_node/includes/pay_node.admin.inc
@todo Please document this function.

File

./pay.module, line 461
Pay module allows for accepting payments using pluggable payment backends.

Code

function pay_form_displays_list() {
  $list = array();
  foreach (pay_form_displays($handler) as $key => $info) {
    $list[$key] = $info['title'];
  }
  return $list;
}