Closed (fixed)
Project:
Webform
Version:
7.x-3.18
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 12:39 UTC
Updated:
18 Jun 2013 at 04:36 UTC
I am having a module which declares a content type via hook_node_info(). The module also sets webform as dependency. How can I enable webform for this content type in codes so when my module is enabled, my content type is also webform-enabled.
Thanks!
Comments
Comment #1
quicksketchIn hook_enable() or hook_install():
Comment #2
quicksketchComment #2.0
quicksketchclarify