function ResponseStatus::setRequestStack

File

core/modules/system/src/Plugin/Condition/ResponseStatus.php, line 41

Class

ResponseStatus
Provides a 'Response status' condition.

Namespace

Drupal\system\Plugin\Condition

Code

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.