You are here

class ViewsPreRenderEvent in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/views_event_dispatcher/src/Event/Views/ViewsPreRenderEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPreRenderEvent

Class ViewsPreRenderEvent.

Hierarchy

Expanded class hierarchy of ViewsPreRenderEvent

2 files declare their use of ViewsPreRenderEvent
ExampleViewsEventSubscribers.php in examples/ExampleViewsEventSubscribers.php
views_event_dispatcher.module in modules/views_event_dispatcher/views_event_dispatcher.module
Views event dispatcher submodule.

File

modules/views_event_dispatcher/src/Event/Views/ViewsPreRenderEvent.php, line 10

Namespace

Drupal\views_event_dispatcher\Event\Views
View source
class ViewsPreRenderEvent extends AbstractViewsEvent {

  /**
   * {@inheritdoc}
   */
  public function getDispatcherType() : string {
    return HookEventDispatcherInterface::VIEWS_PRE_RENDER;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractViewsEvent::$view private property The view.
AbstractViewsEvent::getView public function Get the view.
AbstractViewsEvent::__construct public function AbstractViewsEvent constructor. 3
ViewsPreRenderEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType