You are here

public function HighContrastController::disable in High contrast 8

Disable high contrast.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse RedirectResponse object.

1 string reference to 'HighContrastController::disable'
high_contrast.routing.yml in ./high_contrast.routing.yml
high_contrast.routing.yml

File

src/HighContrastController.php, line 48

Class

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

Namespace

Drupal\high_contrast

Code

public function disable() {
  $this
    ->disableHighContrast();
  return $this
    ->goBack();
}