constant 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. The event listener method receives a Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent instance.

@api

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/KernelEvents.php, line 65

Class

KernelEvents
Contains all events thrown in the HttpKernel component

Namespace

Symfony\Component\HttpKernel

Code

const VIEW = 'kernel.view';