function LoggerChannelInterface::setRequestStack
Same name in other branches
- 9 core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setRequestStack()
- 8.9.x core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setRequestStack()
- 10 core/lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\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\LoggerCode
public function setRequestStack(?RequestStack $requestStack = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.