Does anyone have experience with using a feature as a module? The usage I am talking about is strictly placing hooks inside the .module file. Can that trigger any sort of bug?


Of course, you can use a feature like a "normal" module.

Feature use .module file only for include a file, so after this include you could add your custom code. And obviously you can add more files, directories, etc.

It's a great way to avoid to create too many modules.


I've used a feature as a "normal" module without any problems. I've found it very convenient.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.