You are here

protected function HighContrastController::goBack in High contrast 8

Perform the redirect to the set path.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse RedirectResponse object.

2 calls to HighContrastController::goBack()
HighContrastController::disable in src/HighContrastController.php
Disable high contrast.
HighContrastController::enable in src/HighContrastController.php
Enable high contrast.

File

src/HighContrastController.php, line 59

Class

HighContrastController
This class handles the enabling and disabling of high contrast mode.

Namespace

Drupal\high_contrast

Code

protected function goBack() {
  return new RedirectResponse($this->redirectDestination);
}