public static function PhpWkhtmlToPdf::getInstallationInstructions in Entity Print 8
Gets the installation instructions for this PDF engine.
Return value
string A description of how the user can meet the dependencies for this engine.
Overrides PdfEngineBase::getInstallationInstructions
File
- src/
Plugin/ EntityPrint/ PdfEngine/ PhpWkhtmlToPdf.php, line 40
Class
- PhpWkhtmlToPdf
- @PdfEngine( id = "phpwkhtmltopdf", label = @Translation("Php Wkhtmltopdf") )
Namespace
Drupal\entity_print\Plugin\EntityPrint\PdfEngineCode
public static function getInstallationInstructions() {
return t('Please install with: @command', [
'@command' => 'composer require "mikehaertl/phpwkhtmltopdf ~2.1"',
]);
}