You are here

public function HighContrastController::enable in High contrast 8

Enable high contrast.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse RedirectResponse object.

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

File

src/HighContrastController.php, line 37

Class

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

Namespace

Drupal\high_contrast

Code

public function enable() {
  $this
    ->enableHighContrast();
  return $this
    ->goBack();
}