Closed (fixed)
Project:
Hacked!
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Jun 2011 at 04:20 UTC
Updated:
11 Jul 2011 at 20:21 UTC
Jump to comment: Most recent
If hacked returns the $projects array as the function result from hacked-list-projects, then that data will be available in the 'object' element of the result record returned from drush backend invoke.
ex:
$values = drush_invoke_process_args("hacked-list-projects");
drush_print_r($values["object"]);
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| hacked-return-projects.patch | 227 bytes | greg.1.anderson |
Comments
Comment #1
steven jones commentedSounds like a good idea, will commit when I get a moment.
Comment #2
steven jones commentedPushed to all branches. Thanks!