Creating hooks for your Drupal modules

5 +
Anonymous's picture

Thanks so much for the

Thanks so much for the tutorial. I was searching around as well for a simple explanation and example of the basics of module_invoke_all and you did an excellent job.

himerus's picture

Glad it helped!!

Glad to hear this was useful for you. It was something that while obviously not complicated from this example, I had never needed to implement something like that, and the documentation was sparse at best, so it took me quite a bit of digging to find that it was really this simple to do.

Jake Strawn
Drupal Rockstar

Anonymous's picture

Thank you for this info - I

Thank you for this info - I had been looking around for it and your site laid it out the best (especially the Conclusion)!

Anonymous's picture

Perfect

This is exactly to the point. Perfect.

Brandon's picture

Thanks

You just saved me the 2 hrs that you went through! 

 

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <h2> <h3> <h4> <h5> <h6> <img> <p>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Twitter-style @usersnames are linked to their Twitter account pages.

More information about formatting options