public function AjaxPageControllerBase::saveState in Forena Reports 8
Save the state of the controller
1 call to AjaxPageControllerBase::saveState()
- AjaxPageControllerBase::response in src/Controller/ AjaxPageControllerBase.php 
- Return the response based on ajax pramters.
File
- src/Controller/ AjaxPageControllerBase.php, line 233 
Class
Namespace
Drupal\forena\ControllerCode
public function saveState() {
  if ($this->state !== NULL) {
    $state = serialize($this->state);
    $svc = \Drupal::keyValueExpirable(static::TOKEN_PREFIX);
    $svc
      ->setWithExpire($this->token, $state, static::MAX_STATE_AGE);
  }
}