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.

10 calls to drush_backend_set_result()
annotatedcomand_adapter_backend_result in includes/annotationcommand_adapter.inc
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.drush.inc
Config pull command callback
drush_core_help in commands/core/help.drush.inc
Command callback for help command. This is the default command, when none other has been specified.
drush_core_rsync in commands/core/rsync.core.inc
A command callback.

... See full list

File

includes/backend.inc, line 86
Drush backend API

Code

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