function State::getValuesSetDuringRequest

File

core/lib/Drupal/Core/State/State.php, line 156

Class

State
Provides the state system using a key value store.

Namespace

Drupal\Core\State

Code

public function getValuesSetDuringRequest(string $key) : ?array {
  return $this->keysSetDuringRequest[$key] ?? NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.