function drush_backend_output_collect

8.0.x drush_backend_output_collect($string)
6.x drush_backend_output_collect($string)
7.x drush_backend_output_collect($string)
5.x drush_backend_output_collect($string)
master drush_backend_output_collect($string)

Callback to collect backend command output.

1 call to drush_backend_output_collect()
drush_backend_output in includes/
Print the json-encoded output of this command, including the encoded log records, context information, etc.
1 string reference to 'drush_backend_output_collect'


includes/, line 186
Drush backend API


function drush_backend_output_collect($string) {
  static $output = '';
  if (!isset($string)) {
    return $output;

  $output .= $string;
  return $string;