You are here

function wsconfig_get_data_processors in Web Service Data 7

Get a list of processors which return data

Return value

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

1 call to wsconfig_get_data_processors()
wsconfig_context_wsconfig_settings_form in modules/wsconfig/plugins/contexts/wsconfig.inc

File

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

Code

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