public function WkhtmltopdfController::__construct in wkhtmltopdf 8
Same name and namespace in other branches
- 2.0.x src/Controller/WkhtmltopdfController.php \Drupal\wkhtmltopdf\Controller\WkhtmltopdfController::__construct()
File
- src/
Controller/ WkhtmltopdfController.php, line 26
Class
- WkhtmltopdfController
- Base for Controller.
Namespace
Drupal\wkhtmltopdf\ControllerCode
public function __construct(ConfigFactory $config, Request $request, FileSystemInterface $filesystem) {
$this->settings = $config
->get('wkhtmltopdf.settings');
$this->request = $request;
$this->filesystem = $filesystem;
}