public function WebformOptionsCustomForm::__construct in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_custom/src/WebformOptionsCustomForm.php \Drupal\webform_options_custom\WebformOptionsCustomForm::__construct()
Constructs a WebformOptionsCustomForm object.
Parameters
\GuzzleHttp\ClientInterface $http_client: The HTTP client.
File
- modules/
webform_options_custom/ src/ WebformOptionsCustomForm.php, line 32
Class
- WebformOptionsCustomForm
- Provides a form to set webform options custom.
Namespace
Drupal\webform_options_customCode
public function __construct(ClientInterface $http_client) {
$this->httpClient = $http_client;
}