Drupal 7 module development gotchas
Description
First we discovered that you need a .module file for your module to be recognized. A .info file is not enough. (In this case, we only wanted the .install file, we made an empty .module file, and all was well. But then we wanted to add some functions to that empty .module file...)
Now we have found that you need to declare
files[] = agaric_example.modulein your agaric_example.info file for your agaric_example.module to be read!!!
This is a gotcha that'll get ya before you even get going. So declare your .module as a file you want in your .info file and be on your way to Drupal 7 module-making goodness.
Post new comment
