Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Core Commands
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Feb 2013 at 19:44 UTC
Updated:
11 Sep 2013 at 11:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
kyle_mathews commentedAnd a patch.
Comment #2
kyle_mathews commentedSecond try. Just want the command name.
Comment #3
greg.1.anderson commenteda.) If we are going to do this, we should pass the entire command record, not just the command name.
b.) Please roll patch against Drush 8.x-6.x.
c.) It does not look like you are calling call_user_func_array correctly.
d.) Needs a unit test that shows that the hook is working correctly, and has access to $command.
I searched all of the Drush extensions and Drupal modules I had on my system, and only admin_menu implemented hook_drush_exit, and it ignores the parameters. I am therefore not too worried about the backwards compatibility issues of changing the function parameters. Still, this does change the behavior of an API, and therefore is not eligible for backporting to Drush-5.x.
Comment #4
kyle_mathews commentedThird try. call_user_function_array only takes two arguments.
Comment #5
greg.1.anderson commentedThanks for working on this. See #3, less item c.
Comment #6
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.
Comment #6.0
greg.1.anderson commentedImprove clarity