public function GoogleCSESearchBoxForm::__construct in Google Custom Search Engine 8.3
Same name and namespace in other branches
- 8.2 src/Form/GoogleCSESearchBoxForm.php \Drupal\google_cse\Form\GoogleCSESearchBoxForm::__construct()
GoogleCSESearchBoxForm constructor.
Parameters
\Drupal\google_cse\GoogleCSEServices $googleCSEServices: The google cse services.
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request object.
File
- src/
Form/ GoogleCSESearchBoxForm.php, line 42
Class
- GoogleCSESearchBoxForm
- Class GoogleCSESearchBoxForm.
Namespace
Drupal\google_cse\FormCode
public function __construct(GoogleCSEServices $googleCSEServices, RequestStack $requestStack) {
$this->googleCSEServices = $googleCSEServices;
$this->requestStack = $requestStack;
}