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.

7 calls to drush_backend_set_result()
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.
drush_handle_command_output in includes/command.inc
Convert the structured output array provided from the Drush command into formatted output. Output is only printed for commands that define 'default-format' &/or 'default-pipe-format'; all other commands are expected to do…
drush_user_login in commands/user/user.drush.inc
Displays a one time login link for the given user.

... 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);
  }
}