You are here

class ViewsPreBuildEvent in Hook Event Dispatcher 8

Class ViewsPreBuildEvent.

Hierarchy

Expanded class hierarchy of ViewsPreBuildEvent

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

File

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

Namespace

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

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

}

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