- Issue created by @parkh
- π¦πΊAustralia silverham
Attaching patch uses static variable instead, so format is not locked in. not sure why it added twice though.
- Status changed to Needs review
4 months ago 12:58pm 26 July 2024 - Status changed to Needs work
about 1 month ago 5:30pm 18 October 2024 - πΊπΈUnited States andyg5000 North Carolina, USA
The init hook is getting registered twice by Drush because of a drush.services.yml and the auto-discovery service that Drush invokes. We should remove the command in drush.services.yml and let the auto-discovery handle registering the commands.
I would like the module maintainers to review this before making an MR because there are several commands that are impacted by this.
- πΊπΈUnited States andyg5000 North Carolina, USA
Here's a temp patch I'm using for now until we can get the module maintainers eyes on this. I don't think we need to reference any of the drush.services.yml stuff and removing it fixes the duplicate hook registrations.