You are here

public function ViewDisplays::reset in EVA: Entity Views Attachment 8.2

Reset display configurations and cache when enabling/disabling EVA.

File

src/ViewDisplays.php, line 128

Class

ViewDisplays
EVA utiltity service.

Namespace

Drupal\eva

Code

public function reset() {
  $this
    ->clearDetached(NULL, TRUE);
  $this
    ->invalidateCaches();
}