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'
File
- src/
HighContrastController.php, line 37
Class
- HighContrastController
- This class handles the enabling and disabling of high contrast mode.
Namespace
Drupal\high_contrastCode
public function enable() {
$this
->enableHighContrast();
return $this
->goBack();
}