public function DomPdfGenerator::availableDisposition in PDF Generator 8
Same name and namespace in other branches
- 2.0.x src/DomPdfGenerator.php \Drupal\pdf_generator\DomPdfGenerator::availableDisposition()
Return a list disposition.
File
- src/
DomPdfGenerator.php, line 174
Class
- DomPdfGenerator
- Defines helpers methods to help in managing config which used in SCity.
Namespace
Drupal\pdf_generatorCode
public function availableDisposition() {
return [
'portrait' => $this
->t('Portrait'),
'landscape' => $this
->t('Landscape'),
];
}