You are here

public function HighContrastController::__construct in High contrast 8

Fetch and store the redirect path.

File

src/HighContrastController.php, line 27

Class

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

Namespace

Drupal\high_contrast

Code

public function __construct() {
  $this->redirectDestination = \Drupal::request()->query
    ->get('destination');
}