I am trying to make a sort of hook_setup_beans() function (similar to hook_setup_blocks()) to create some bean instances by default when a user turns on a bean_example module I am making. This would be called from hook_install().
Is there a standard path for doing this?
I am playing with bean_create() and bean_save() right now.
Thanks
p.s. I also posted this to http://drupal.stackexchange.com/questions/99918/how-do-i-programatically...
Comments
Comment #1
mohit_aghera commentedIs this you are looking for ?
https://drupal.org/node/1436186
Comment #2
indytechcook commentedMarking this as fixed.