You are here

function oa_related_template_modules_enabled in Open Atrium Related Content 7.2

Implements hook_modules_enabled().

File

./oa_related.module, line 579

Code

function oa_related_template_modules_enabled($modules) {
  foreach ($modules as $module_name) {
    $node_infos = module_invoke($module_name, 'node_info');
    if (array_intersect_key(oa_related_get_content_types(), $node_infos)) {
      $cache =& drupal_static('features_get_default', array());
      $cache = array();
      features_template_revert('rebuild');
      break;
    }
  }
}