function eva_modules_enabled in EVA: Entity Views Attachment 7
Same name and namespace in other branches
- 8.2 eva.module \eva_modules_enabled()
- 8 eva.module \eva_modules_enabled()
Implements hook_modules_enabled().
File
- ./
eva.module, line 312
Code
function eva_modules_enabled($modules) {
// Reset the static cache in case any of the enabled modules
// implement an eva view
drupal_static_reset('eva_get_views');
cache_clear_all('*', 'cache_views', TRUE);
}