function drush_backend_set_result

8.0.x drush_backend_set_result($value)
6.x drush_backend_set_result($value)
7.x drush_backend_set_result($value)
3.x drush_backend_set_result($value)
4.x drush_backend_set_result($value)
5.x drush_backend_set_result($value)
master 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.

10 calls to drush_backend_set_result()
annotatedcomand_adapter_backend_result in includes/
Callback function called by HookManager::EXTRACT_OUTPUT to set the backend result.
BackendResultSetter::extractOutput in lib/Drush/Backend/BackendResultSetter.php
drush_config_pull in commands/core/
Config pull command callback
drush_core_help in commands/core/
Command callback for help command. This is the default command, when none other has been specified.
drush_core_rsync in commands/core/
A command callback.

... See full list


includes/, line 86
Drush backend API


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