public static function PdftkPdfBackend::getUserPermissionList in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Plugin/PdfBackend/PdftkPdfBackend.php \Drupal\fillpdf\Plugin\PdfBackend\PdftkPdfBackend::getUserPermissionList()
Return a list of available user permissions for configuring PDF security.
Return value
array The permission list.
File
- src/
Plugin/ PdfBackend/ PdftkPdfBackend.php, line 261
Class
- PdftkPdfBackend
- Pdftk PdfBackend plugin.
Namespace
Drupal\fillpdf\Plugin\PdfBackendCode
public static function getUserPermissionList() : array {
return [
'Printing' => t('Printing (Top Quality Printing)'),
'DegradedPrinting' => t('DegradedPrinting (Lower Quality Printing)'),
'ModifyContents' => t('ModifyContents (Also allows <em>Assembly</em>)'),
'Assembly' => t('Assembly'),
'CopyContents' => t('CopyContents (Also allows <em>ScreenReaders</em>)'),
'ScreenReaders' => t('ScreenReaders'),
'ModifyAnnotations' => t('ModifyAnnotations (Also allows <em>FillIn</em>)'),
'FillIn' => t('FillIn'),
'AllFeatures' => t('AllFeatures (Allows the user to perform all of the above, and top quality printing.)'),
];
}