public function LocalServerPdfBackend::__construct in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/Plugin/PdfBackend/LocalServerPdfBackend.php \Drupal\fillpdf\Plugin\PdfBackend\LocalServerPdfBackend::__construct()
Constructs a LocalServerPdfBackend plugin object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
array $plugin_definition: The plugin implementation definition.
\GuzzleHttp\Client $http_client: The Guzzle http client.
Overrides PluginBase::__construct
File
- src/
Plugin/ PdfBackend/ LocalServerPdfBackend.php, line 55
Class
- LocalServerPdfBackend
- LocalServer PdfBackend plugin.
Namespace
Drupal\fillpdf\Plugin\PdfBackendCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, Client $http_client) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->httpClient = $http_client;
}