You are here

public function AdminSettingsForm::getPageSizeOptions in PDF using mPDF 8

Same name and namespace in other branches
  1. 8.2 src/Form/AdminSettingsForm.php \Drupal\pdf_using_mpdf\Form\AdminSettingsForm::getPageSizeOptions()

International Paper Sizes.

Return value

array Page size option list.

1 call to AdminSettingsForm::getPageSizeOptions()
AdminSettingsForm::buildForm in src/Form/AdminSettingsForm.php
Form constructor.

File

src/Form/AdminSettingsForm.php, line 516

Class

AdminSettingsForm
Admin settings form.

Namespace

Drupal\pdf_using_mpdf\Form

Code

public function getPageSizeOptions() {
  return [
    'A0' => 'A0',
    'A1' => 'A1',
    'A2' => 'A2',
    'A3' => 'A3',
    'A4' => 'A4',
    'A5' => 'A5',
    'A6' => 'A6',
    'A7' => 'A7',
    'A8' => 'A8',
    'A9' => 'A9',
    'A10' => 'A10',
    'B0' => 'B0',
    'B1' => 'B1',
    'B2' => 'B2',
    'B3' => 'B3',
    'B4' => 'B4',
    'B5' => 'B5',
    'B6' => 'B6',
    'B7' => 'B7',
    'B8' => 'B8',
    'B9' => 'B9',
    'B10' => 'B10',
    'C0' => 'C0',
    'C1' => 'C1',
    'C2' => 'C2',
    'C3' => 'C3',
    'C4' => 'C4',
    'C5' => 'C5',
    'C6' => 'C6',
    'C7' => 'C7',
    'C8' => 'C8',
    'C9' => 'C9',
    'C10' => 'C10',
    '2A0' => '2A0',
    '4A0' => '4A0',
    'RA0' => 'RA0',
    'RA1' => 'RA1',
    'RA2' => 'RA2',
    'RA3' => 'RA3',
    'SRA0' => 'SRA0',
    'SRA1' => 'SRA1',
    'SRA2' => 'SRA2',
    'SRA3' => 'SRA3',
    'SRA4' => 'SRA4',
    'Letter' => 'Letter',
    'Legal' => 'Legal',
  ];
}