You are here

function wsconfig_get_form_processors in Web Service Data 7

Get a list of processors which return forms

Return value

array Returns an array of key/value pairs of classnames and display names for supported processors.

2 calls to wsconfig_get_form_processors()
WsBean::form in modules/wsbeans/plugins/beans/wsbeans_wsbean.inc
Builds extra settings for the block edit form.
wshybridfield_field_formatter_settings_form in modules/wshybridfield/wshybridfield.module
Implements hook_field_formatter_settings_form().

File

modules/wsconfig/wsconfig.module, line 612
Main module for wsconfig

Code

function wsconfig_get_form_processors() {
  $form_processors = array();
  $defined_proc = variable_get('wsconfig_processors', array());
  foreach ($defined_proc as $classname => $value) {
    if (isset($value['form'])) {
      $form_processors[$classname] = $value['form'];
    }
  }
  return $form_processors;
}