Extending devel generate
| Project: | Devel |
| Version: | 6.x-1.x-dev |
| Component: | devel_generate |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I have a project were we need to generate some content for our own module with custom database tables. This has been done so very many times before that I started to wonder if it would make more sense to extend devel generate with few hooks that would let module developers to extend content generation for their own data structures. I know that you can already do this easily if you are extending nodes, but in our case we have a very light weight custom data structure that is no using nodes at all.
What do you think about this idea? I don't think it's very easy to implement on top of devel generate. If we find a reasonable way to do it in 6.x version we might implement it and contribute it as a patch. Any ideas on how to do this are welcome.

#1
I think it is best if you should write own module for this. there is little code you can leverage in devel_generate. for example, votingapi module ships with code to generate votes.
#2
Ok... This was our original plan, but it sort of bugs me that there isn't more generic way of doing this. Thanks anyway, devel generate rocks. :-)
#3
Automatically closed -- issue fixed for 2 weeks with no activity.