Skip to main content
16 events
when toggle format what by license comment
Oct 13 at 19:53 comment added Jaypan It seems to me you should just be creating your own custom Drush command. In that command run the actions that the original Drush command was supposed to run, then add your own follow up to that. I wouldn't use event handlers in this case.
Jun 20 at 10:30 history edited pbonnefoi CC BY-SA 4.0
added 34 characters in body
Jun 20 at 10:22 history edited pbonnefoi CC BY-SA 4.0
added 89 characters in body
Jun 20 at 10:20 comment added pbonnefoi I added some precisions and @4uk4 answer was what I was looking for. I don't get the downvotes though :'(
Jun 20 at 10:11 vote accept pbonnefoi
Jun 20 at 10:01 history edited pbonnefoi CC BY-SA 4.0
added 244 characters in body; edited title
Jun 20 at 6:11 review Close votes
Jul 5 at 3:02
Jun 19 at 20:56 answer added 4uk4 timeline score: 5
Jun 19 at 16:50 history edited mona lisa CC BY-SA 4.0
edited title
Jun 19 at 16:49 comment added mona lisa The question needs an edit in that case.
Jun 19 at 14:44 comment added pbonnefoi Indeed, but the proposal in the link is not precise enough. I want to know which drush command is executed.
Jun 19 at 13:14 comment added mona lisa The question title is "Is there a way to know that I'm executing a drush command on the code side?"
Jun 19 at 12:56 comment added pbonnefoi Thanks for your proposal, I'm not really fan of this solution :-)
Jun 19 at 12:16 answer added greggles timeline score: 2
Jun 19 at 10:31 comment added mona lisa Does this answer your question? stackoverflow.com/questions/1991346/…
Jun 19 at 10:06 history asked pbonnefoi CC BY-SA 4.0