public static function PhpWkhtmlToPdf::dependenciesAvailable in Entity Print 8
Checks if the PDF engine dependencies are available.
Return value
bool TRUE if this implementation has its dependencies met otherwise FALSE.
Overrides PdfEngineInterface::dependenciesAvailable
File
- src/
Plugin/ EntityPrint/ PdfEngine/ PhpWkhtmlToPdf.php, line 100
Class
- PhpWkhtmlToPdf
- @PdfEngine( id = "phpwkhtmltopdf", label = @Translation("Php Wkhtmltopdf") )
Namespace
Drupal\entity_print\Plugin\EntityPrint\PdfEngineCode
public static function dependenciesAvailable() {
return class_exists('mikehaertl\\wkhtmlto\\Pdf');
}