public static function PdftkPdfBackend::getEncryptionOptions in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/Plugin/PdfBackend/PdftkPdfBackend.php \Drupal\fillpdf\Plugin\PdfBackend\PdftkPdfBackend::getEncryptionOptions()
Get valid PDFtk encryption options.
Return value
array The valid encryption options.
File
- src/
Plugin/ PdfBackend/ PdftkPdfBackend.php, line 273
Class
- PdftkPdfBackend
- Pdftk PdfBackend plugin.
Namespace
Drupal\fillpdf\Plugin\PdfBackendCode
public static function getEncryptionOptions() : array {
return [
'' => t('No encryption (Default)'),
'encrypt_128bit' => t('128-bit encryption (Recommended)'),
'encrypt_40bit' => t('40-bit encryption'),
];
}