You are here

public function CasRedirectData::forceRedirection in CAS 2.x

Same name and namespace in other branches
  1. 8 src/CasRedirectData.php \Drupal\cas\CasRedirectData::forceRedirection()

Force the redirection to occur (may still be prevented).

File

src/CasRedirectData.php, line 193

Class

CasRedirectData
Provides tools to build the redirects.

Namespace

Drupal\cas

Code

public function forceRedirection() {
  $this->willRedirect = TRUE;
}