When programming with Drupal, which I would like to know is what are the hooks that you could use at any given time.
And if you could, in that order is executed.
When I asked others, no one seems to have the answer.
Well, I have not found yet, but I found in Article Drupal: Exposed of Angie Byron, a form listing the hooks used in a given time.
function is to locate the module_implements , which is in includes / module.inc , and do something something like: function
module_implements ($ hook, $ sort = FALSE, $ reset = FALSE) {
. ..
drupal_set_message ("hook_ $ hook);
...
}
says the article as you can have hooks that are invoked after the page is displayed (do not know that could happen), this list of hooks the show on the next page load.
0 comments:
Post a Comment