You are here

public static function DomPdf::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/DomPdf.php, line 156

Class

DomPdf
@PdfEngine( id = "dompdf", label = @Translation("Dompdf") )

Namespace

Drupal\entity_print\Plugin\EntityPrint\PdfEngine

Code

public static function dependenciesAvailable() {
  return class_exists('Dompdf\\Dompdf');
}