public function SearchViewController::__construct in Google Search Appliance 8
Constructs a new SearchViewController object.
Parameters
\Drupal\google_appliance\Service\SearchInterface $search: Search service.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: Form builder.
File
- src/
Controller/ SearchViewController.php, line 35
Class
- SearchViewController
- Class SearchView.
Namespace
Drupal\google_appliance\ControllerCode
public function __construct(SearchInterface $search, FormBuilderInterface $formBuilder) {
$this->formBuilder = $formBuilder;
$this->search = $search;
}