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

Breadcrumb

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

KernelEvents::CONTROLLER

The CONTROLLER event occurs once a controller was found for handling a request.

This event allows you to change the controller that will handle the request.

Plugin annotation

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

File

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

Class

KernelEvents
Contains all events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel

Code

public const CONTROLLER = 'kernel.controller';

API Navigation

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