function configuration_debug_batch in Configuration Management 6
Print debug data during a batch operation
1 call to configuration_debug_batch()
- _configuration_execute_batch in ./
configuration.module - Batch callback function for batch execution
File
- ./
configuration.module, line 317 - Provide a unified method for defining site configurations abstracted from their data format. Various data formats should be supported via a plugin architecture such as XML, YAML, JSON, PHP
Code
function configuration_debug_batch($var = null) {
$var = print_r($var, true);
$var = str_replace(" ", ' ', $var);
$var = str_replace("\n", "<br />", $var);
print drupal_to_js(array(
'status' => 0,
'data' => $var,
));
exit;
}