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.

6 calls to drush_backend_set_result()
drush_core_help in commands/core/
Command callback for help command. This is the default command, when none other has been specified.
drush_handle_command_output in includes/
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_pm_releases in commands/pm/
Command callback. Show available releases for given project(s).
drush_user_login in commands/user/
Displays a one time login link for the given user.
SqlBase::dump in lib/Drush/Sql/SqlBase.php

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