You are here

public static function PhpWkhtmlToPdf::dependenciesAvailable in Entity Print 8.2

Checks if the Print engine dependencies are available.

Return value

bool TRUE if this implementation has its dependencies met otherwise FALSE.

Overrides PrintEngineInterface::dependenciesAvailable

File

src/Plugin/EntityPrint/PrintEngine/PhpWkhtmlToPdf.php, line 247

Class

PhpWkhtmlToPdf
PHP wkhtmltopdf plugin.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

public static function dependenciesAvailable() {
  return class_exists('mikehaertl\\wkhtmlto\\Pdf') && !drupal_valid_test_ua();
}