function ResponseStatus::setRequestStack
Same name and namespace in other branches
- 10 core/modules/system/src/Plugin/Condition/ResponseStatus.php \Drupal\system\Plugin\Condition\ResponseStatus::setRequestStack()
Sets the request stack to the given input.
File
-
core/
modules/ system/ src/ Plugin/ Condition/ ResponseStatus.php, line 44
Class
- ResponseStatus
- Provides a 'Response status' condition.
Namespace
Drupal\system\Plugin\ConditionCode
public function setRequestStack(RequestStack $requestStack) : void {
$this->requestStack = $requestStack;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.