public function ViewDisplays::invalidateCaches in EVA: Entity Views Attachment 8.2
Reset render cache and EVA view list.
1 call to ViewDisplays::invalidateCaches()
- ViewDisplays::reset in src/
ViewDisplays.php - Reset display configurations and cache when enabling/disabling EVA.
File
- src/
ViewDisplays.php, line 136
Class
- ViewDisplays
- EVA utiltity service.
Namespace
Drupal\evaCode
public function invalidateCaches() {
$this->defaultCache
->invalidate($this->cacheId);
$this->renderCache
->deleteAll();
}