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)
4 calls to drush_backend_set_result()
drush_core_status in commands/core/core.drush.inc
Command callback. Provides a birds-eye view of the current Drupal installation.
drush_pm_list in commands/pm/pm.drush.inc
Command callback. Show a list of extensions with type and status.
drush_sql_conf in commands/sql/sql.drush.inc
Command callback. Displays the Drupal site's database connection string.
_drush_invoke_args in includes/command.inc
Variant of drush_invoke_args that allows the commandfile to be specified correctly; this allows the hook functions to be correctly determined for commands that provide a 'callback' function.

File

includes/backend.inc, line 64
Drush backend API

Code

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