I am looking at turning my Features into proper modules. There is nothing fancy to them other than a content type, a couple of textfields attached and a view. It looks like the features module pretty much exports these into a module anyways but it looks like it relies on some helper functions in the features module to get this going. How can I convert my feature so that it doe not require the features module to be installed?
|
|
I don't know of an example module that has all of those pieces together, but I think you'll find that field_example and node_example from the Examples for Developers project useful. As well, this page of the Features documentation mentions something interesting:
So you may wish to export your Feature, then develop on it from there based on the samples in field_example and node_example. |
|||
|
|
|
In my experience, you just want to create a content type by a custom module. If this is your goal, all you need is to create a .install file. When you install your module all the content type and field will be set up completely. |
||||
|
|