You are here

class ViewsPreRenderEvent in Hook Event Dispatcher 8

Class ViewsPreRenderEvent.

Hierarchy

Expanded class hierarchy of ViewsPreRenderEvent

2 files declare their use of ViewsPreRenderEvent
ExampleViewsEventSubscribers.php in src/Example/ExampleViewsEventSubscribers.php
hook_event_dispatcher.module in ./hook_event_dispatcher.module
Hook event dispatcher module.

File

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

Namespace

Drupal\hook_event_dispatcher\Event\Views
View source
class ViewsPreRenderEvent extends BaseViewsEvent {

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

}

Members

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