You are here

public function SuggestionSearchForm::__construct in Autocomplete Search Suggestions 8

Same name and namespace in other branches
  1. 8.2 src/Form/SuggestionSearchForm.php \Drupal\suggestion\Form\SuggestionSearchForm::__construct()
  2. 3.0.x src/Form/SuggestionSearchForm.php \Drupal\suggestion\Form\SuggestionSearchForm::__construct()

Class constructor.

Parameters

\Drupal\Core\Routing\RedirectDestinationInterface $redirect: The redirect destination.

File

src/Form/SuggestionSearchForm.php, line 26

Class

SuggestionSearchForm
Ngram search form.

Namespace

Drupal\suggestion\Form

Code

public function __construct(RedirectDestinationInterface $redirect) {
  $this->redirect = $redirect;
}