public function ViewsPdfBase::getPageFormat in Views PDF 8
Get the page format list.
Return value
mixed All formats avilable
File
- src/
ViewsPdfBase.php, line 190 - Contains \Drupal\views_pdf\ViewsPdfTemplate.
Class
- ViewsPdfBase
- The main class to generate the PDF.
Namespace
Drupal\views_pdfCode
public function getPageFormat() {
$format['custom'] = t('Custom');
$format['4A0'] = '4A0';
$format['2A0'] = '2A0';
$format['A0'] = 'A0';
$format['A1'] = 'A1';
$format['A2'] = 'A2';
$format['A3'] = 'A3';
$format['A4'] = 'A4';
$format['A5'] = 'A5';
$format['A6'] = 'A6';
$format['A7'] = 'A7';
$format['A8'] = 'A8';
$format['A9'] = 'A9';
$format['A10'] = 'A10';
$format['B0'] = 'B0';
$format['B1'] = 'B1';
$format['B2'] = 'B2';
$format['B3'] = 'B3';
$format['B4'] = 'B4';
$format['B5'] = 'B5';
$format['B6'] = 'B6';
$format['B7'] = 'B7';
$format['B8'] = 'B8';
$format['B9'] = 'B9';
$format['B10'] = 'B10';
$format['C0'] = 'C0';
$format['C1'] = 'C1';
$format['C2'] = 'C2';
$format['C3'] = 'C3';
$format['C4'] = 'C4';
$format['C5'] = 'C5';
$format['C6'] = 'C6';
$format['C7'] = 'C7';
$format['C8'] = 'C8';
$format['C9'] = 'C9';
$format['C10'] = 'C10';
$format['RA0'] = 'RA0';
$format['RA1'] = 'RA1';
$format['RA2'] = 'RA2';
$format['RA3'] = 'RA3';
$format['RA4'] = 'RA4';
$format['SRA0'] = 'SRA0';
$format['SRA1'] = 'SRA1';
$format['SRA2'] = 'SRA2';
$format['SRA3'] = 'SRA3';
$format['SRA4'] = 'SRA4';
$format['LETTER'] = 'LETTER';
$format['LEGAL'] = 'LEGAL';
$format['EXECUTIVE'] = 'EXECUTIVE';
$format['FOLIO'] = 'FOLIO';
$format['MEMO'] = 'MEMO';
return $format;
}