You are here

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

Class

TcPdfv1
TCPDF plugin implementation.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

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