function annotatedcomand_adapter_backend_result

master annotationcommand_adapter.inc annotatedcomand_adapter_backend_result($structured_data)

Callback function called by HookManager::EXTRACT_OUTPUT to set the backend result.

1 string reference to 'annotatedcomand_adapter_backend_result'
drush_init_dependency_injection_container in includes/preflight.inc
Set up our dependency injection container.

File

includes/annotationcommand_adapter.inc, line 60
annotationcommand_adapter.inc

Code

function annotatedcomand_adapter_backend_result($structured_data) {
  $return = drush_backend_get_result();
  if (empty($return)) {
    drush_backend_set_result($structured_data);
  }
}