function drush_backend_set_result

8.0.x backend.inc drush_backend_set_result($value)
6.x backend.inc drush_backend_set_result($value)
7.x backend.inc drush_backend_set_result($value)
3.x backend.inc drush_backend_set_result($value)
4.x backend.inc drush_backend_set_result($value)
5.x backend.inc drush_backend_set_result($value)
master backend.inc drush_backend_set_result($value)

The backend result is the original PHP data structure (usually an array) used to generate the output for the current command.

1 call to drush_backend_set_result()
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.

File

includes/backend.inc, line 83
Drush backend API

Code

function drush_backend_set_result($value) {
  if (drush_get_context('DRUSH_BACKEND')) {
    drush_set_context('BACKEND_RESULT', $value);
  }
}