2

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?

2 Answers 2

4

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.

1

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 and acknowledge you have read our privacy policy.

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