Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. KernelEvents.php

KernelEvents::VIEW

The VIEW event occurs when the return value of a controller is not a Response instance.

This event allows you to create a response for the return value of the controller.

Plugin annotation

@Event("Symfony\\Component\\HttpKernel\\Event\\ViewEvent");

File

vendor/symfony/http-kernel/KernelEvents.php, line 81

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

public const VIEW = 'kernel.view';
RSS feed
Powered by Drupal