You are here

class ViewsPreExecuteEvent in Hook Event Dispatcher 8

Class ViewsPreExecuteEvent.

Hierarchy

Expanded class hierarchy of ViewsPreExecuteEvent

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

File

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

Namespace

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

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

}

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