You are here

function eva_modules_disabled in EVA: Entity Views Attachment 7

Same name and namespace in other branches
  1. 8.2 eva.module \eva_modules_disabled()
  2. 8 eva.module \eva_modules_disabled()

Implements hook_modules_disabled().

File

./eva.module, line 322

Code

function eva_modules_disabled($modules) {

  // Reset the static cache in case any of the disabled modules
  // implemented an eva view
  drupal_static_reset('eva_get_views');
  cache_clear_all('*', 'cache_views', TRUE);
}