You are here

function webform_chart_wfc_backend in Webform Chart 7

Same name and namespace in other branches
  1. 7.2 webform_chart.admin.inc \webform_chart_wfc_backend()

Implements hook_wfc_backend().

File

./webform_chart.admin.inc, line 186
Provides administration functions for the webform_chart module.

Code

function webform_chart_wfc_backend() {
  $backends = array();
  $bundlers = file_scan_directory(drupal_get_path('module', 'webform_chart') . '/bundlers', '/.*\\.inc$/');
  foreach ($bundlers as $bundler) {
    $fn = $bundler->name . '_wfc_backend';
    if (function_exists($fn)) {
      $backends = array_merge($backends, $fn());
    }
  }
  return $backends;
}