You are here

function pdf_using_mpdf_permission in PDF using mPDF 7

Same name and namespace in other branches
  1. 7.2 pdf_using_mpdf.module \pdf_using_mpdf_permission()

Implements hook_permission().

File

./pdf_using_mpdf.module, line 29
Prints PDF for a given html node view.

Code

function pdf_using_mpdf_permission() {
  return array(
    'generate pdf using mpdf' => array(
      'title' => t('Generate PDF using mPDF'),
      'description' => t('Permission for HTML to PDF conversion'),
    ),
    'administer mpdf settings' => array(
      'title' => t('Access PDF using mPDF settings'),
      'description' => t('Permission for accessing mpdf settings'),
    ),
  );
}