You are here

function hook_webform_exporters_alter in Webform 7.4

Modify the list of webform exporters definitions.

Parameters

array &$exporters: A list of all available webform exporters.

Related topics

1 invocation of hook_webform_exporters_alter()
webform_export_fetch_definition in includes/webform.export.inc
Returns a Webform exporter definition.

File

./webform.api.php, line 1457
Sample hooks demonstrating usage in Webform.

Code

function hook_webform_exporters_alter(array &$exporters) {
  $exporters['excel']['handler'] = 'customized_excel_exporter';
  $exporters['excel']['file'] = drupal_get_path('module', 'yourmodule') . '/includes/customized_excel_exporter.inc';
}