public function SuggestionSearchForm::__construct in Autocomplete Search Suggestions 3.0.x
Same name and namespace in other branches
- 8.2 src/Form/SuggestionSearchForm.php \Drupal\suggestion\Form\SuggestionSearchForm::__construct()
- 8 src/Form/SuggestionSearchForm.php \Drupal\suggestion\Form\SuggestionSearchForm::__construct()
Class constructor.
Parameters
\Drupal\Core\Routing\RedirectDestinationInterface $redirect: The redirect destination.
\Drupal\Core\Pager\PagerManagerInterface $pager_mgr: The language manager dependency injection.
\Drupal\Core\Database\Connection $dbh: The language manager dependency injection.
File
- src/
Form/ SuggestionSearchForm.php, line 34
Class
- SuggestionSearchForm
- Ngram search form.
Namespace
Drupal\suggestion\FormCode
public function __construct(RedirectDestinationInterface $redirect, PagerManagerInterface $pager_mgr, Connection $dbh) {
$this->dbh = $dbh;
$this->pagerMgr = $pager_mgr;
$this->redirect = $redirect;
}