code: public function setForcedRedirect($url) {
          $data = $this->getData(true);
          $data[static::$forcedRedirectKey] = $url;
          return $this->setData($data);
      }
docs: Redirect using document.location instead of JS router
  @param string $url
  @return $this