function commerce_recurring_enable in Commerce Recurring Framework 7.2
Implements hook_enable().
File
- ./
commerce_recurring.install, line 111
Code
function commerce_recurring_enable() {
// Make sure we're in a non cached environment.
entity_info_cache_clear();
field_cache_clear();
// Create and configure the recurring product type fields.
commerce_recurring_configure_product_type();
// Create and configure the recurring entity.
commerce_recurring_configure_recurring_entity_type();
}