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

Breadcrumb

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

function LoggerChannelInterface::setRequestStack

Sets the request stack.

Parameters

\Symfony\Component\HttpFoundation\RequestStack|null $requestStack: The current request object.

1 method overrides LoggerChannelInterface::setRequestStack()
LoggerChannel::setRequestStack in core/lib/Drupal/Core/Logger/LoggerChannel.php
Sets the request stack.

File

core/lib/Drupal/Core/Logger/LoggerChannelInterface.php, line 43

Class

LoggerChannelInterface
Logger channel interface.

Namespace

Drupal\Core\Logger

Code

public function setRequestStack(?RequestStack $requestStack = NULL);

API Navigation

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