public function SuggestionSearchForm::__construct in Autocomplete Search Suggestions 8
Same name and namespace in other branches
- 8.2 src/Form/SuggestionSearchForm.php \Drupal\suggestion\Form\SuggestionSearchForm::__construct()
- 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\FormCode
public function __construct(RedirectDestinationInterface $redirect) {
$this->redirect = $redirect;
}