You are here

class ViewsPreBuildEvent in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/views_event_dispatcher/src/Event/Views/ViewsPreBuildEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPreBuildEvent

Class ViewsPreBuildEvent.

Hierarchy

Expanded class hierarchy of ViewsPreBuildEvent

2 files declare their use of ViewsPreBuildEvent
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/ViewsPreBuildEvent.php, line 10

Namespace

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

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

}

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
ViewsPreBuildEvent::getDispatcherType public function Get the dispatcher type. Overrides EventInterface::getDispatcherType