class ViewsPreRenderEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/views_event_dispatcher/src/Event/Views/ViewsPreRenderEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPreRenderEvent
Class ViewsPreRenderEvent.
Hierarchy
- class \Drupal\views_event_dispatcher\Event\Views\AbstractViewsEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\views_event_dispatcher\Event\Views\ViewsPreRenderEvent
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\ViewsView source
class ViewsPreRenderEvent extends AbstractViewsEvent {
/**
* {@inheritdoc}
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::VIEWS_PRE_RENDER;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractViewsEvent:: |
private | property | The view. | |
AbstractViewsEvent:: |
public | function | Get the view. | |
AbstractViewsEvent:: |
public | function | AbstractViewsEvent constructor. | 3 |
ViewsPreRenderEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |