You are here

public function RedirectLoopException::getRedirectId in Redirect 8

Returns the redirect ID.

Return value

int The redirect ID.

File

src/Exception/RedirectLoopException.php, line 58

Class

RedirectLoopException
Exception for when a redirect loop is detected.

Namespace

Drupal\redirect\Exception

Code

public function getRedirectId() {
  return $this->rid;
}