This may be a basic question (I'm not sure) but I could really use some expert advice as it's been very challenging for me.
I'm trying to edit a form on my website (the "Add New Product" form, from Ubercart) and have found some (but not all) of the areas in code where modules have implemented hook_form() and altered the appearance of this form.
There are a few items that are showing up on the form that I haven't been able to find (particularly, a drop-down box showing catalog categories). Is there a way to trace where hook_form or hook_form_alter is being called and which modules are adding which content? Even an idea about something I could print out using drupal_set_message would be very helpful.
Thank you!
Comments
Comment #1
ainigma32 commentedThis is how the core finds (and calls) all modules that have a hook_form_alter defined :
So if you stick something like this in a PHP block:
You should get a full list of modules that have an implementation of hook_form_alter.
- Arie