You are here

public function ViewsPostRenderEvent::getCache in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/views_event_dispatcher/src/Event/Views/ViewsPostRenderEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPostRenderEvent::getCache()

Get the cache settings.

Return value

\Drupal\views\Plugin\views\cache\CachePluginBase The cache settings.

File

modules/views_event_dispatcher/src/Event/Views/ViewsPostRenderEvent.php, line 50

Class

ViewsPostRenderEvent
Class ViewsPostRenderEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function getCache() : CachePluginBase {
  return $this->cache;
}