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

Breadcrumb

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

function ViewEvent::setControllerResult

File

vendor/symfony/http-kernel/Event/ViewEvent.php, line 43

Class

ViewEvent
Allows to create a response for the return value of a controller.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function setControllerResult(mixed $controllerResult) : void {
    $this->controllerResult = $controllerResult;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal