Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
Congrats for your work.
I was going to develop a "Module Generator" module.
Since I don't have so much time lately, I searched and found Module Builder.
The module I was going to develop was intended to give the developer a GUI useful to create modules (creating the folder and all the needed files and storing them on the server) and edit them continuously on-the-fly (always with the GUI).
Will Module Builder allow to edit module's files on-the-fly?
Thanks.
Giovanni
Comments
Comment #1
joachim CreditAttribution: joachim commented> Will Module Builder allow to edit module's files on-the-fly?
Module builder won't do that.
There is a drush option to add new hooks to a module, but I think it may have a few bugs and I haven't used it in a while.
Changing a module's code through the UI though would be a huge security risk though.
Comment #2
Copyfight CreditAttribution: Copyfight commentedMmm.
Drupal core allows modules to be uploaded and enabled through the UI.
Isn't that already a huge security risk?
Thanks for your answer.
Comment #3
joachim CreditAttribution: joachim commentedTrue. Provided we take whatever precautions that Core takes, that would be fine. There's the added matter here that you should only be using MB on dev sites anyway :)
This isn't something I've got time to look into, but I'll consider patches :)