You are here

function _eva_reset in EVA: Entity Views Attachment 8

Cache clearing helper function Reset the static cache in case any of the disabled modules implemented an eva view

2 calls to _eva_reset()
eva_modules_disabled in ./eva.module
Implements hook_modules_disabled().
eva_modules_enabled in ./eva.module
Implements hook_modules_enabled().

File

./eva.module, line 228
Module implementing EVA extra field and views display

Code

function _eva_reset() {
  _eva_clear_detached(null, TRUE);
  drupal_static_reset('eva_get_views');
  \Drupal::cache('render')
    ->deleteAll();
}