protected static function Utility::getPathTcpdf in Views PDF 8
Help to get the TCPDF path.
Return value
string
1 call to Utility::getPathTcpdf()
- Utility::getKPathFonts in src/
Share/ Utility.php - Help to get the Fonts path from TCPDF.
File
- src/
Share/ Utility.php, line 36 - Contains \Drupal\views_pdf\Share\Utility
Class
Namespace
Drupal\views_pdf\ShareCode
protected static function getPathTcpdf() {
$tcpdfPath = self::reflectionClass(\TCPDF::class);
return $tcpdfPath !== NULL ? dirname($tcpdfPath
->getFileName()) : '';
}