Give the gift of Drupal. All merchandise is 50% off through 2016.
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.